fix: fix minification
This commit is contained in:
parent
ac49217b02
commit
d8d6b54e5a
1 changed files with 9 additions and 1 deletions
|
@ -40,7 +40,15 @@ const config = {
|
|||
plugins: [
|
||||
swc({
|
||||
minify: isProduction,
|
||||
jsc: { minify: { sourceMap: true, keepFnames: true } },
|
||||
jsc: {
|
||||
minify: {
|
||||
sourceMap: true,
|
||||
mangle: {
|
||||
keepClassNames: true,
|
||||
keepFnNames: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
sourceMaps: true,
|
||||
}),
|
||||
styles({
|
||||
|
|
Loading…
Reference in a new issue