mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-18 05:02:24 +08:00
Builder-Webpack5
Builder implemented with webpack5
and webpack5
-compatible loaders/plugins/config, used by @storybook/core-server
to build the preview iframe.
To configure your Storybook to run builder-webpack5
, install it as a dev dependency and then update your .storybook/main.js
configuration:
module.exports = {
core: {
builder: 'webpack5',
},
};