Skip to content

Commit

Permalink
Don't include test files in generated types
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed Jun 4, 2024
1 parent 1ce7302 commit b8ad38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export default defineConfig({
formats: ['es', 'cjs'],
},
},
plugins: [dts({ entryRoot: './lib' })],
plugins: [dts({ entryRoot: './lib', exclude: 'lib/*/**.test.ts' })],
});

0 comments on commit b8ad38d

Please sign in to comment.