Storybook 10 is transitioning to ESM-only builds, eliminating dual CommonJS/ESM support to reduce package size by 15%, simplify maintenance, and align with JavaScript ecosystem standards. The change requires Node.js 20.16+ and valid ESM configuration files, but maintains backward compatibility for most addons. This move follows years of ecosystem preparation and recent Node.js improvements that enable smoother ESM adoption.

5m read timeFrom storybook.js.org
Post cover image
Table of contents
🧭 Why is ESM a big deal?🫤 Dual builds were painful🪶 Dual builds caused bloat🧱What’s changing in Storybook 10?🧪 Try Storybook 10 today🦸 Looking forward
6 Comments

Sort: