From 2554b5667b913b42f798cf96af6acba9d31b68cc Mon Sep 17 00:00:00 2001 From: Barin Britva Date: Sat, 4 Nov 2023 19:31:20 +0400 Subject: [PATCH] Use module system ES6 instead of UMD. UMD only useful to insert script directly to browser. But it causes issues for webpack. --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 923e748..9efcb15 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "esModuleInterop": true, "experimentalDecorators": true, "forceConsistentCasingInFileNames": true, - "module": "UMD", + "module": "ES6", "moduleResolution": "Node", "target": "ES2015", "outDir": "./dist",