From 3a92fdf2a1a5757a427104c6863690d0bb985dfc Mon Sep 17 00:00:00 2001 From: alex12306 Date: Fri, 1 Sep 2023 14:36:16 +0800 Subject: [PATCH 1/2] fix(create-vite): redundant configuration --- packages/create-vite/template-vue-ts/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-vite/template-vue-ts/tsconfig.json b/packages/create-vite/template-vue-ts/tsconfig.json index f82888f3d0965c..9e03e60496f0ca 100644 --- a/packages/create-vite/template-vue-ts/tsconfig.json +++ b/packages/create-vite/template-vue-ts/tsconfig.json @@ -20,6 +20,6 @@ "noUnusedParameters": true, "noFallthroughCasesInSwitch": true }, - "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], "references": [{ "path": "./tsconfig.node.json" }] } From b8cd3d3efb06ab56d66743b2eed5db0546c1fe73 Mon Sep 17 00:00:00 2001 From: alex12306 Date: Mon, 4 Sep 2023 17:14:02 +0800 Subject: [PATCH 2/2] fix(create-vite): remove redundant tsconfig include configuration --- packages/create-vite/template-svelte-ts/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-vite/template-svelte-ts/tsconfig.json b/packages/create-vite/template-svelte-ts/tsconfig.json index c4e1c5fe6e73a4..5fb548f2b4f61a 100644 --- a/packages/create-vite/template-svelte-ts/tsconfig.json +++ b/packages/create-vite/template-svelte-ts/tsconfig.json @@ -15,6 +15,6 @@ "checkJs": true, "isolatedModules": true }, - "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], + "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], "references": [{ "path": "./tsconfig.node.json" }] }