fix rollup mangle that prevented table clicks

This commit is contained in:
Proddy
2023-10-17 21:18:23 +02:00
parent 8584901229
commit c42ead995e
4 changed files with 12 additions and 6 deletions

View File

@@ -78,7 +78,7 @@ export default defineConfig(({ command, mode }) => {
],
build: {
target: 'es2022',
// target: 'es2022',
outDir: 'dist',
reportCompressedSize: false,
chunkSizeWarningLimit: 1024,
@@ -94,11 +94,11 @@ export default defineConfig(({ command, mode }) => {
sequences: true
},
mangle: {
toplevel: true,
module: true,
properties: {
regex: /^_/
}
// toplevel: true
// module: true
// properties: {
// regex: /^_/
// }
},
ecma: 5,
enclose: false,