mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Don't emit "use strict" in compiled source. It breaks on iOS.
This commit is contained in:
@ -336,7 +336,10 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
ts: {
|
ts: {
|
||||||
build: {
|
build: {
|
||||||
tsconfig: 'tsconfig.json',
|
tsconfig: {
|
||||||
|
tsconfig: 'tsconfig.json',
|
||||||
|
passThrough: true,
|
||||||
|
},
|
||||||
outDir: localCfg.outModulesDir,
|
outDir: localCfg.outModulesDir,
|
||||||
options: tsOptions
|
options: tsOptions
|
||||||
},
|
},
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
"declaration": false,
|
"declaration": false,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
|
"noImplicitUseStrict": true,
|
||||||
"outDir": "bin/dist/modules",
|
"outDir": "bin/dist/modules",
|
||||||
"experimentalDecorators": true
|
"experimentalDecorators": true
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user