mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Update grunt-ts version to get the noEmitOnError setting. Apply the setting
This commit is contained in:
@@ -291,14 +291,15 @@ module.exports = function(grunt) {
|
||||
ts: {
|
||||
build: {
|
||||
src: localCfg.typeScriptSrc,
|
||||
outDir: [localCfg.outModulesDir],
|
||||
outDir: localCfg.outModulesDir,
|
||||
options: {
|
||||
module: "commonjs",
|
||||
target: "es5",
|
||||
sourceMap: false,
|
||||
declaration: false,
|
||||
removeComments: "<%= !grunt.option('leavecomments') || '' %>",
|
||||
compiler: "node_modules/typescript/bin/tsc"
|
||||
compiler: "node_modules/typescript/bin/tsc",
|
||||
noEmitOnError: true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user