forked from Ruderverein-Donau-Linz/rowt
fix js error
This commit is contained in:
@ -14,6 +14,12 @@ export default defineConfig({
|
||||
],
|
||||
publicDir: false, // disable copy `public/` to outDir
|
||||
build: {
|
||||
minify: 'terser', // Explicitly specify to use terser for minification
|
||||
terserOptions: {
|
||||
mangle: false, // Disable variable name mangling
|
||||
keep_classnames: false,
|
||||
keep_fnames: false,
|
||||
},
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: './main.ts',
|
||||
@ -32,4 +38,4 @@ export default defineConfig({
|
||||
css: {
|
||||
devSourcemap: true, // disabled by default because of performance reasons
|
||||
},
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user