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: {
build: {
tsconfig: 'tsconfig.json',
tsconfig: {
tsconfig: 'tsconfig.json',
passThrough: true,
},
outDir: localCfg.outModulesDir,
options: tsOptions
},

View File

@ -9,6 +9,7 @@
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noImplicitUseStrict": true,
"outDir": "bin/dist/modules",
"experimentalDecorators": true
},