mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
Reason: When using modern builders like Vite, the source code in Storybook must be ESM-compatible. The mix of imports and require in the same file confused the Vite build tool, preventing the essential addons from working.