From 95b4f1e6d4f052a803e08629f0def12dc634be98 Mon Sep 17 00:00:00 2001 From: "NGOCDG280\\ngocdg" Date: Mon, 23 Sep 2024 10:56:11 +0700 Subject: [PATCH] refactor: change unimport.d.ts location --- unimport.d.ts => src/types/unimport.d.ts | 0 tsconfig.json | 2 +- vite.config.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename unimport.d.ts => src/types/unimport.d.ts (100%) diff --git a/unimport.d.ts b/src/types/unimport.d.ts similarity index 100% rename from unimport.d.ts rename to src/types/unimport.d.ts diff --git a/tsconfig.json b/tsconfig.json index 1413a719..85c48170 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -27,7 +27,7 @@ "./src/**/*.tsx", "./tests/**/*.ts", "./tests/**/*.tsx", - "./unimport.d.ts" + "./src/types/unimport.d.ts" ], "references": [{ "path": "./tsconfig.node.json" }] } diff --git a/vite.config.ts b/vite.config.ts index 334bfa1a..9943c06e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -31,7 +31,7 @@ export default defineConfig(() => { crx({ manifest }), react(), Unimport.vite({ - dts: true, + dts: "./src/types/unimport.d.ts", presets: [ "react", {