update SWC config to disable useDefineForClassFields

This commit is contained in:
Johannes
2023-06-23 12:55:32 +02:00
parent 8f4b627c1f
commit 56c917debf
2 changed files with 9 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -381,7 +381,10 @@ export class SwcTranspiler implements ITranspiler {
minify: {
compress: false,
mangle: false
}
},
transform: {
useDefineForClassFields: false,
},
},
module: {
type: 'amd',