Integrates React Three Fiber topology view and a live matrix stream modal on the dashboard. Adds vite-plugin-pwa with AetherForge manifest and three.js dependencies.
52 lines
1.0 KiB
TypeScript
52 lines
1.0 KiB
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import { VitePWA } from 'vite-plugin-pwa'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
VitePWA({
|
|
registerType: 'autoUpdate',
|
|
devOptions: {
|
|
enabled: true
|
|
},
|
|
manifest: {
|
|
name: 'AetherForge Command Deck',
|
|
short_name: 'AetherForge',
|
|
theme_color: '#0d0d12',
|
|
background_color: '#000000',
|
|
display: 'standalone',
|
|
icons: [
|
|
{
|
|
src: '/vite.svg',
|
|
sizes: '192x192',
|
|
type: 'image/svg+xml'
|
|
},
|
|
{
|
|
src: '/vite.svg',
|
|
sizes: '512x512',
|
|
type: 'image/svg+xml'
|
|
}
|
|
]
|
|
}
|
|
})
|
|
],
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8989',
|
|
changeOrigin: true,
|
|
},
|
|
'/ws': {
|
|
target: 'ws://localhost:8989',
|
|
ws: true,
|
|
},
|
|
},
|
|
},
|
|
build: {
|
|
outDir: 'dist',
|
|
sourcemap: false,
|
|
},
|
|
})
|