Skip to content

Commit

Permalink
Merge pull request #26375 from storybookjs/joevaugh4n-patch-3
Browse files Browse the repository at this point in the history
CLI: Improve `vite-config-file.ts`
  • Loading branch information
ndelangen authored Mar 12, 2024
2 parents 0402f64 + a8fa52c commit f6c14d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/lib/cli/src/automigrate/fixes/vite-config-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ export const viteConfigFile = {
prompt({ existed, plugins }) {
if (existed) {
return dedent`
Since version 8.0.0, Storybook no longer ships with a Vite config build-in.
Since version 8.0.0, Storybook no longer ships with an in-built Vite config.
We've detected you do have a Vite config, but you may be missing the following plugins in it.
${plugins.map((plugin) => ` - ${plugin}`).join('\n')}
If you do already have these plugins, you can ignore this message.
If you already have these plugins, you can ignore this message.
You can find more information on how to do this here:
https://storybook.js.org/docs/8.0/migration-guide/#missing-viteconfigjs-file
Expand All @@ -111,7 +111,7 @@ export const viteConfigFile = {
`;
}
return dedent`
Since version 8.0.0, Storybook no longer ships with a Vite config build-in.
Since version 8.0.0, Storybook no longer ships with an in-built Vite config.
Please add a vite.config.js file to your project root.
You can find more information on how to do this here:
Expand Down

0 comments on commit f6c14d0

Please sign in to comment.