Skip to content

Commit

Permalink
fix storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
morewings committed Nov 30, 2023
1 parent 6ba58ce commit 8eb0040
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ export default defineConfig({
resolve: {
alias: hq.get('rollup'),
},
plugins: [react(), dts({rollupTypes: true})],
plugins: [
react(),
{
...dts({rollupTypes: true}),
apply: 'build',
},
],
build: {
lib: {
// Could also be a dictionary or array of multiple entry points
Expand Down

0 comments on commit 8eb0040

Please sign in to comment.