mirror of
https://github.com/ruvnet/RuView
synced 2026-06-09 10:13:17 +00:00
04f205a05e
The Lit + Vite HOMECORE web UI is an example consumer of the sensing stack, not a top-level deliverable — relocate it under examples/ alongside the other sensor and dashboard demos. Add an entry to examples/README.md so it's discoverable. Co-Authored-By: claude-flow <ruv@ruv.net>
26 lines
505 B
TypeScript
26 lines
505 B
TypeScript
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8123',
|
|
changeOrigin: true,
|
|
ws: true,
|
|
},
|
|
},
|
|
},
|
|
build: {
|
|
target: 'es2022',
|
|
outDir: 'dist',
|
|
sourcemap: true,
|
|
},
|
|
optimizeDeps: {
|
|
// Allow WASM async import via dynamic import()
|
|
exclude: [],
|
|
},
|
|
// WASM async import support: vite handles .wasm?init natively
|
|
assetsInclude: ['**/*.wasm'],
|
|
});
|