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: [
|
plugins: [
|
||||||
swc({
|
swc({
|
||||||
minify: isProduction,
|
minify: isProduction,
|
||||||
jsc: { minify: { sourceMap: true, keepFnames: true } },
|
jsc: {
|
||||||
|
minify: {
|
||||||
|
sourceMap: true,
|
||||||
|
mangle: {
|
||||||
|
keepClassNames: true,
|
||||||
|
keepFnNames: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
sourceMaps: true,
|
sourceMaps: true,
|
||||||
}),
|
}),
|
||||||
styles({
|
styles({
|
||||||
|
|
Loading…
Reference in a new issue