fix: fix minification

This commit is contained in:
Johannes Loher 2022-05-13 20:08:00 +02:00
parent ac49217b02
commit d8d6b54e5a

View file

@ -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({