From 9468836ed0ff73afdcc542cf16a89d249aa7d1b5 Mon Sep 17 00:00:00 2001 From: Sixin Li Date: Fri, 20 Jan 2017 03:48:20 -0500 Subject: [PATCH] moduleResoultion contains "node", not "nodejs" from https://github.com/Microsoft/TypeScript/blob/master/src/compiler/commandLineParser.ts#L304 --- .../palantir/typescript/preferences/TsConfigPreferences.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.palantir.typescript/src/com/palantir/typescript/preferences/TsConfigPreferences.java b/com.palantir.typescript/src/com/palantir/typescript/preferences/TsConfigPreferences.java index 5106910..92a5254 100644 --- a/com.palantir.typescript/src/com/palantir/typescript/preferences/TsConfigPreferences.java +++ b/com.palantir.typescript/src/com/palantir/typescript/preferences/TsConfigPreferences.java @@ -67,7 +67,7 @@ public final class TsConfigPreferences { "COMMONJS", "COMMONSJS", "ES2015", "ES6"); private static final Map TSCONFIG_MODULE_RESOLUTION_MAPPING = ImmutableMap.of( - "NODEJS", "NODE_JS"); + "NODE", "NODE_JS"); private final IProject project; private Map preferenceValues;