From e7a35ade83506f161cd4b95c0d87c3b01689b54f Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Tue, 3 Jan 2023 11:57:26 +0100 Subject: [PATCH] improve message --- code/lib/cli/src/automigrate/fixes/missing-babelrc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/lib/cli/src/automigrate/fixes/missing-babelrc.ts b/code/lib/cli/src/automigrate/fixes/missing-babelrc.ts index 10b64d67858b..6a2224874f45 100644 --- a/code/lib/cli/src/automigrate/fixes/missing-babelrc.ts +++ b/code/lib/cli/src/automigrate/fixes/missing-babelrc.ts @@ -72,9 +72,9 @@ export const missingBabelRc: Fix = { 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')}