From 39a4adba0311a85a7491b975fe0d81a5a659d112 Mon Sep 17 00:00:00 2001 From: AceDataCloud Date: Mon, 1 Jan 2024 16:23:13 +0800 Subject: [PATCH] update build target --- tsconfig.json | 5 ++--- tsconfig.node.json | 8 -------- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 tsconfig.node.json diff --git a/tsconfig.json b/tsconfig.json index 47077c3d..25a9554a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "allowSyntheticDefaultImports": true, - "target": "esnext", + "target": "es2020", "useDefineForClassFields": true, "module": "esnext", "moduleResolution": "node", @@ -18,6 +18,5 @@ }, "types": ["vite/client"] }, - "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], - "references": [{ "path": "./tsconfig.node.json" }] + "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.vue"] } diff --git a/tsconfig.node.json b/tsconfig.node.json deleted file mode 100644 index e993792c..00000000 --- a/tsconfig.node.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "composite": true, - "module": "esnext", - "moduleResolution": "node" - }, - "include": ["vite.config.ts"] -}