Files
bim_engine/demo/vite.config.js
yuding 191c571f40 refactor: sync managers and section box actions
Wire section box scale/reverse/reset to clipping APIs and sync demo artifacts.
2026-02-04 18:20:30 +08:00

24 lines
379 B
JavaScript

import { defineConfig } from 'vite';
import { resolve } from 'path';
export default defineConfig({
root: '.',
server: {
port: 8080,
host: '0.0.0.0',
open: true,
allowedHosts: true,
fs: {
allow: ['..']
}
},
build: {
outDir: 'dist',
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html')
}
}
}
});