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", {