import { defineConfig } from 'vite'; export default defineConfig({ // No build optimization for scripts to keep the legacy global scope working build: { minify: false, rollupOptions: { output: { manualChunks: undefined, }, }, }, server: { port: 5173, open: true, }, });