fix: dts global declarations should not be bundled

This commit is contained in:
Simon
2026-06-04 17:44:59 +08:00
parent 3c0d55fa33
commit 90ff96ca15
5 changed files with 10 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ export default defineConfig({
clearScreen: false,
plugins: [
dts({
include: ['src/**/*.ts'],
exclude: ['src/**/*.test.ts'],
bundleTypes: true,
compilerOptions: {
composite: true,