fix production builds

need to keep class names due to serialization depending on them
This commit is contained in:
Up 2024-03-26 01:02:54 +01:00 committed by Samuel H
parent 69250714d0
commit 1a21fd43c0
1 changed files with 7 additions and 1 deletions

View File

@ -1,8 +1,14 @@
import { defineConfig } from 'vite';
import fs from 'vite-plugin-fs';
// import fs from 'vite-plugin-fs';
export default defineConfig({
plugins: [/*fs()*/],
server: { host: '0.0.0.0', port: 8000 },
clearScreen: false,
build: {
minify: 'esbuild',
},
esbuild: {
keepNames: true,
}
})