Skip to content

Commit

Permalink
add note in babel v7 migration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Feb 28, 2023
1 parent 7815aa0 commit 653016f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,10 @@ _Has automigration_

Storybook now uses [Babel mode v7](#babel-mode-v7) exclusively. In 6.x, Storybook provided its own babel settings out of the box. Now, Storybook's uses your project's babel settings (`.babelrc`, `babel.config.js`, etc.) instead.

> Note:
> This is only necessary for projects that use the following packages: @storybook/react-webpack5, @storybook/vue-webpack5, @storybook/vue3-webpack5, @storybook/html-webpack5.
> If you are using @storybook/react-webpack5 with the @storybook/preset-create-react-app package, you can skip this step.
In the new mode, Storybook expects you to provide a configuration file. If you want a configuration file that's equivalent to the 6.x default, you can run the following command in your project directory:

```sh
Expand Down

0 comments on commit 653016f

Please sign in to comment.