Merge branch 'ErjanGavalji/leave-comments-on-build'

This commit is contained in:
Erjan Gavalji
2016-03-17 10:36:03 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -180,7 +180,8 @@ module.exports = function(grunt) {
tsOptions.compiler = "node_modules/typescript/bin/tsc";
tsOptions.failOnTypeErrors = true;
tsOptions.outDir = localCfg.outModulesDir;
tsOptions.additionalFlags = "--outDir " + localCfg.outModulesDir;
var removeCommentsArgument = tsOptions.removeComments ? " --removeComments" : "";
tsOptions.additionalFlags = "--outDir " + localCfg.outModulesDir + removeCommentsArgument;
grunt.initConfig({
localCfg : localCfg,

View File

@@ -8,7 +8,6 @@
"module": "commonjs",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noImplicitUseStrict": true,
"experimentalDecorators": true
},
@@ -711,4 +710,4 @@
"atom": {
"rewriteTsconfig": true
}
}
}