diff --git a/vite.config.ts b/vite.config.ts index b2add82ea9..98ab4bb06a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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'] }, });