strip comments when re-emitting tsconfig.json (#10529)

This commit is contained in:
Zhengbo Li
2016-08-25 06:21:02 -07:00
committed by Mohamed Hegazy
parent c254e9589f
commit 6c49dc2f70
2 changed files with 3 additions and 1 deletions

View File

@@ -930,7 +930,8 @@ namespace ts {
const options: TranspileOptions = {
fileName: "config.js",
compilerOptions: {
target: ScriptTarget.ES6
target: ScriptTarget.ES6,
removeComments: true
},
reportDiagnostics: true
};