summaryrefslogtreecommitdiff
path: root/vite.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.ts')
-rw-r--r--vite.config.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/vite.config.ts b/vite.config.ts
index e7fe7a7..2fd4f50 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -12,6 +12,7 @@ export default defineConfig({
plugins: [
dts({ // Generate declaration files
insertTypesEntry: true, // Create a single entry point for types
+ exclude: ['src/__tests__/**'], // Keep test declarations out of the published package
}),
],
build: {
@@ -37,4 +38,4 @@ export default defineConfig({
sourcemap: true, // Generate source maps for debugging
emptyOutDir: true, // Clean the dist directory before building
},
-}); \ No newline at end of file
+});