diff --git a/src/transpilers/swc.ts b/src/transpilers/swc.ts index 680c8e906..4aedb0674 100644 --- a/src/transpilers/swc.ts +++ b/src/transpilers/swc.ts @@ -240,6 +240,7 @@ export function createSwcOptions( transform: { decoratorMetadata: emitDecoratorMetadata, legacyDecorator: true, + useDefineForClassFields: false, react: { throwIfNamespace: false, development: jsxDevelopment,