This addon adds babel support to Storybook's webpack5 compiler. It adds the babel-loader to the webpack config and sets the babel-loader as the default loader for JavaScript and TypeScript files.
npx storybook@latest add @storybook/addon-webpack5-compiler-babel- Storybook@>=10.0.0
| Addon coverage version | Storybook version |
|---|---|
| ^4.0.0 | ^10.0.0 |
| ^3.0.0 | ^9.0.0 |
| ^3.0.0 | ^8.0.0 |