fix production builds
need to keep class names due to serialization depending on thempull/17/head
parent
69250714d0
commit
1a21fd43c0
|
@ -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,
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue