mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 18:21:08 +08:00
adds missing package and renames snippet
This commit is contained in:
parent
80df766292
commit
c00b191512
@ -69,7 +69,7 @@ When you start your Storybook, you'll see an improvement in loading times. Read
|
||||
|
||||
### Webpack 5
|
||||
|
||||
Storybook builds your project with Webpack 4 by default. If your project uses Webpack 5, you can opt into the Webpack 5 builder by installing the `@storybook/builder-webpack5` package, and opting in in your `main.js`:
|
||||
Storybook builds your project with Webpack 4 by default. If your project uses Webpack 5, you can opt into the Webpack 5 builder by installing the required dependencies (i.e., `@storybook/builder-webpack5`, `@storybook/manager-webpack5`) and update your Storybook configuration as follows:
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
|
||||
|
@ -11,4 +11,4 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
};
|
||||
```
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user