mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge branch 'ErjanGavalji/leave-comments-on-build'
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
"module": "commonjs",
|
||||
"declaration": false,
|
||||
"noImplicitAny": false,
|
||||
"removeComments": true,
|
||||
"noImplicitUseStrict": true,
|
||||
"experimentalDecorators": true
|
||||
},
|
||||
@@ -711,4 +710,4 @@
|
||||
"atom": {
|
||||
"rewriteTsconfig": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user