fix production builds
need to keep class names due to serialization depending on them
This commit is contained in:
parent
69250714d0
commit
1a21fd43c0
|
@ -1,8 +1,14 @@
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import fs from 'vite-plugin-fs';
|
// import fs from 'vite-plugin-fs';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [/*fs()*/],
|
plugins: [/*fs()*/],
|
||||||
server: { host: '0.0.0.0', port: 8000 },
|
server: { host: '0.0.0.0', port: 8000 },
|
||||||
clearScreen: false,
|
clearScreen: false,
|
||||||
|
build: {
|
||||||
|
minify: 'esbuild',
|
||||||
|
},
|
||||||
|
esbuild: {
|
||||||
|
keepNames: true,
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue