From c0f02bb4267397b9146cc11cecf94ba2eeaf3e02 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 18 Jul 2020 03:46:52 +0200 Subject: [PATCH] commonjs lib fix --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 654f17d..3110487 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "module": "commonjs", "moduleResolution": "node", "target": "es5", - "lib": ["esnext", "dom"], + "lib": ["es2015", "dom"], "outDir": "dist/cjs", "jsx": "react", "esModuleInterop": true,