Skip to content

Commit

Permalink
Merge pull request #2155 from tuxmachine/patch-1
Browse files Browse the repository at this point in the history
fix(swc): don't set missing class fields
  • Loading branch information
kamilmysliwiec committed Jul 11, 2023
2 parents 2d8a8d5 + 37813f4 commit be5d1d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/compiler/defaults/swc-defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const swcDefaultsFactory = (
transform: {
legacyDecorator: true,
decoratorMetadata: true,
useDefineForClassFields: false
},
keepClassNames: true,
baseUrl: tsOptions?.baseUrl,
Expand Down

0 comments on commit be5d1d0

Please sign in to comment.