From a0acb65391a20adea01480bf5fd666cd62f400e2 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 3 Aug 2024 21:22:01 +0530 Subject: [PATCH] feat(ts): set target & module --- maxun-core/tsconfig.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/maxun-core/tsconfig.json b/maxun-core/tsconfig.json index a3813d95..4a1cf18b 100644 --- a/maxun-core/tsconfig.json +++ b/maxun-core/tsconfig.json @@ -2,7 +2,10 @@ "compilerOptions": { "outDir": "./build", "declaration": true, - "allowJs": true + "allowJs": true, + "target": "es5", + "module": "commonjs", + "esModuleInterop": true }, "include": ["src"] }