mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
improve message
This commit is contained in:
parent
834c796011
commit
c3d76f9d1c
@ -72,9 +72,9 @@ export const missingBabelRc: Fix<MissingBabelRcOptions> = {
|
||||
chalk.red('Attention')
|
||||
)}: We could not automatically make this change. You'll need to do it manually.
|
||||
|
||||
Storybook now uses 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.
|
||||
In Storybook 6, it provided its own babel settings out of the box. Now, Storybook's uses your project's babel settings (.babelrc, babel.config.js, etc.) instead.
|
||||
|
||||
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:
|
||||
Storybook now expects you to provide a babel configuration file yourself. If you want a configuration file that's equivalent to the 6.x default, you can run the following command in your project directory:
|
||||
|
||||
${chalk.blue('npx sb@next babelrc')}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user