From 30f7e6590a37ef76ac53df665b54dade9aeece7d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 3 Feb 2020 14:57:14 +0100 Subject: Remove recent improvements to the build script tslib as a dev dependency and commonjs modules are definitely *wrong* in the ideal world, **but** in the real world that's the only combination that works. See https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Problems.20with.20TypeScript.20build --- editors/code/tsconfig.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'editors/code/tsconfig.json') diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index 42130c5e1..d74169c29 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { - "moduleResolution": "node", - "module": "es2015", + "module": "commonjs", "target": "es2018", "outDir": "out", "lib": [ @@ -15,8 +14,7 @@ "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "newLine": "LF", - "esModuleInterop": true, - "importHelpers": true + "esModuleInterop": true }, "exclude": [ "node_modules" -- cgit v1.2.3