From 228f9d10fc0ef101c18bb250acf71509bd96e9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E8=85=BE=E9=9D=96?= Date: Thu, 29 Aug 2024 01:09:56 +0800 Subject: [PATCH] build: revert to use cjs build --- tsconfig.base.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index 75557dc..ddb186e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -5,7 +5,7 @@ /* Basic Options */ "target": "ES2023", - "module": "ESNext", + "module": "CommonJS", /* Strict Type-Checking Options */ "strict": true, @@ -15,7 +15,7 @@ "noFallthroughCasesInSwitch": true, /* Module Resolution Options */ - "moduleResolution": "Bundler", + "moduleResolution": "Node", "esModuleInterop": true, "resolveJsonModule": true,