mapdash/frontend/vite.config.ts

13 lines
373 B
TypeScript

import { defineConfig } from 'vite';
// Scaffold config: build output goes to frontend/dist for now (does NOT touch the
// live /opt/mapdash/static). In the full-migration phase we switch outDir to
// '../static' so `vite build` produces the served bundle directly.
export default defineConfig({
root: '.',
build: {
outDir: 'dist',
emptyOutDir: true,
},
});