mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
fix(webpack): force experimentalDecorators on NativeClass (#10356)
This commit is contained in:
@ -38,6 +38,8 @@ export default function (ctx: ts.TransformationContext) {
|
||||
noEmitHelpers: true,
|
||||
module: ts.ModuleKind.ESNext,
|
||||
target: ts.ScriptTarget.ES5,
|
||||
experimentalDecorators: true,
|
||||
emitDecoratorMetadata: true,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user