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.compiler = "node_modules/typescript/bin/tsc";
|
||||||
tsOptions.failOnTypeErrors = true;
|
tsOptions.failOnTypeErrors = true;
|
||||||
tsOptions.outDir = localCfg.outModulesDir;
|
tsOptions.outDir = localCfg.outModulesDir;
|
||||||
tsOptions.additionalFlags = "--outDir " + localCfg.outModulesDir;
|
var removeCommentsArgument = tsOptions.removeComments ? " --removeComments" : "";
|
||||||
|
tsOptions.additionalFlags = "--outDir " + localCfg.outModulesDir + removeCommentsArgument;
|
||||||
|
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
localCfg : localCfg,
|
localCfg : localCfg,
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"removeComments": true,
|
|
||||||
"noImplicitUseStrict": true,
|
"noImplicitUseStrict": true,
|
||||||
"experimentalDecorators": true
|
"experimentalDecorators": true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user