Skip to content

Commit c37e1ae

Browse files
authored
Fix Webpack issue that breaks with TypeScript
Adding noEmitHelpers to TypeScript avoid the creating of the __extends() function which breaks WebPack. Read more: NativeScript/nativescript-dev-webpack#8 http://stackoverflow.com/questions/36556772/webpack-and-typescript-extends
1 parent 99d7cd1 commit c37e1ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tsconfig.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"module": "commonjs",
55
"removeComments": true,
66
"experimentalDecorators": true,
7-
"sourceMap": true
7+
"sourceMap": true,
8+
"noEmitHelpers": true
89
},
910
"files": [
1011
"demo/node_modules/tns-core-modules/tns-core-modules.d.ts",
@@ -13,4 +14,4 @@
1314
"pulltorefresh.ios.ts"
1415
],
1516
"compileOnSave": false
16-
}
17+
}

0 commit comments

Comments
 (0)