From 054b56fe33fa113c178b9a9f655e6ab35cf98c86 Mon Sep 17 00:00:00 2001 From: Christopher Quadflieg Date: Fri, 17 Jan 2020 11:28:43 +0100 Subject: [PATCH] Target ES2018 with module CommonJS --- tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 611d81dd..3f041ab7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,9 @@ { "compilerOptions": { + "target": "ES2018", + "module": "CommonJS", "inlineSourceMap": true, - "lib": ["es2016", "dom"], + "lib": ["ES2018", "DOM"], "outDir": "dist", "moduleResolution": "node", "rootDir": "src",