Dont default to CommonJS modules for ES6 target

(cherry picked from commit 4a67dc5e08)
This commit is contained in:
Bill Ticehurst committed 2016-02-11 14:08:26 -08:00
1 parent a370103e15
commit 6a8ccd0b56
5 files changed
+3 -6

No files matched your search

-1
View File
@@ -606,7 +606,6 @@ namespace ts {
const options: CompilerOptions = {};
const errors: Diagnostic[] = [];
options.module = ModuleKind.CommonJS;
if (configFileName && getBaseFileName(configFileName) === "jsconfig.json") {
options.allowJs = true;
}