Skip to content

Commit

Permalink
Added NoEmit=true when jsconfig is present
Browse files Browse the repository at this point in the history
  • Loading branch information
armanio123 committed Jan 25, 2018
1 parent f2060c2 commit 4af47f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/commandLineParser.ts
Expand Up @@ -1795,7 +1795,7 @@ namespace ts {

function getDefaultCompilerOptions(configFileName?: string) {
const options: CompilerOptions = getBaseFileName(configFileName) === "jsconfig.json"
? { allowJs: true, maxNodeModuleJsDepth: 2, allowSyntheticDefaultImports: true, skipLibCheck: true }
? { allowJs: true, maxNodeModuleJsDepth: 2, allowSyntheticDefaultImports: true, skipLibCheck: true, noEmit: true }
: {};
return options;
}
Expand Down

0 comments on commit 4af47f1

Please sign in to comment.