Skip to content

Commit e23e234

Browse files
committed
Don't emit "use strict" in compiled source. It breaks on iOS.
1 parent fa5bdd9 commit e23e234

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

gruntfile.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,10 @@ module.exports = function(grunt) {
336336
},
337337
ts: {
338338
build: {
339-
tsconfig: 'tsconfig.json',
339+
tsconfig: {
340+
tsconfig: 'tsconfig.json',
341+
passThrough: true,
342+
},
340343
outDir: localCfg.outModulesDir,
341344
options: tsOptions
342345
},

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"declaration": false,
1010
"noImplicitAny": false,
1111
"removeComments": true,
12+
"noImplicitUseStrict": true,
1213
"outDir": "bin/dist/modules",
1314
"experimentalDecorators": true
1415
},
@@ -707,4 +708,4 @@
707708
"atom": {
708709
"rewriteTsconfig": true
709710
}
710-
}
711+
}

0 commit comments

Comments
 (0)