From 1a4da238def0af331148157765f7dcab3d097cf4 Mon Sep 17 00:00:00 2001 From: Tao Jianhang <1516544795@qq.com> Date: Tue, 5 Dec 2023 18:26:59 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E5=88=A0=E9=99=A4=E5=86=97?= =?UTF-8?q?=E4=BD=99=E7=9A=84tsconfig=E9=85=8D=E7=BD=AE=EF=BC=8C=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=90=AF=E5=8A=A8chrome=E8=B0=83=E8=AF=95=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/launch.json | 15 +++++++++++++++ tsconfig.json | 6 +----- tsconfig.vite-config.json | 8 -------- 3 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 .vscode/launch.json delete mode 100644 tsconfig.vite-config.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..88eff1cb --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "启动Chrome调试", + "url": "http://localhost:5173", + "webRoot": "${workspaceFolder}" + } + ] +} diff --git a/tsconfig.json b/tsconfig.json index f156bc1e..12806b9c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,9 +21,5 @@ "extends": "@vue/tsconfig/tsconfig.web.json", "include": ["src/**/*", "src/**/*.vue", "src/types/*.d.ts", "public", "vite.config.ts"], "esModuleInterop": true, - "references": [ - { - "path": "./tsconfig.vite-config.json" - } - ] + "references": [] } diff --git a/tsconfig.vite-config.json b/tsconfig.vite-config.json deleted file mode 100644 index d20d8726..00000000 --- a/tsconfig.vite-config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "@vue/tsconfig/tsconfig.node.json", - "include": ["vite.config.*"], - "compilerOptions": { - "composite": true, - "types": ["node", "vitest"] - } -} -- Gitee