update SWC config to disable `useDefineForClassFields`

pull/184328/head
Johannes 2023-06-23 12:55:32 +02:00
parent 8f4b627c1f
commit 56c917debf
No known key found for this signature in database
GPG Key ID: 6DEF802A22264FCA
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',