Skip to content

Commit

Permalink
chore: fix storybook cache vite error (digdir#2768)
Browse files Browse the repository at this point in the history
Fix vite complaining about missing random cache files from storybook. 

<img width="1212" alt="image"
src="https://github.com/user-attachments/assets/6e135cd5-88cd-4c04-a243-41a1b27baeff">
  • Loading branch information
mimarz authored Nov 11, 2024
1 parent b214bac commit 6c59fc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ export default defineConfig({
usePolling: true,
},
},
// Temporary "fix" https://github.com/storybookjs/storybook/issues/28542
optimizeDeps: { exclude: ['apps/storybook/node_modules/.cache/storybook'] },
});

0 comments on commit 6c59fc5

Please sign in to comment.