8000 fix(webpack): force experimentalDecorators on NativeClass (#10356) · NativeScript/NativeScript@0efb84f · GitHub
[go: up one dir, main page]

Skip to content

Commit 0efb84f

Browse files
authored
fix(webpack): force experimentalDecorators on Na 8000 tiveClass (#10356)
1 parent 74e6814 commit 0efb84f

File tree

1 file changed

+2
-0
lines changed
  • packages/webpack5/src/transformers/NativeClass

1 file changed

+2
-0
lines changed

packages/webpack5/src/transformers/NativeClass/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ export default function (ctx: ts.TransformationContext) {
3838
noEmitHelpers: true,
3939
module: ts.ModuleKind.ESNext,
4040
target: ts.ScriptTarget.ES5,
41+
experimentalDecorators: true,
42+
emitDecoratorMetadata: true,
4143
},
4244
}
4345
)

0 commit comments

Comments
 (0)
0