Don't emit "use strict" in compiled source. It breaks on iOS.

This commit is contained in:
Hristo Deshev
2016-02-23 15:11:28 +02:00
parent fa5bdd901d
commit e23e234f59
2 changed files with 6 additions and 2 deletions

View File

@ -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
}, },

View File

@ -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
}, },
@ -707,4 +708,4 @@
"atom": { "atom": {
"rewriteTsconfig": true "rewriteTsconfig": true
} }
} }