Package Exports
- @storybook/builder-webpack5
- @storybook/builder-webpack5/dist/cjs/index.js
- @storybook/builder-webpack5/dist/esm/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@storybook/builder-webpack5) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Builder-Webpack5
Builder implemented with webpack5 and webpack5-compatible loaders/plugins/config, used by @storybook/core-server to build the preview iframe.
webpack4 is the default. To configure your Storybook to run webpack5, install @storybook/manager-webpack5 and @storybook/builder-webpack5 as dev dependencies then update your .storybook/main.js configuration.
module.exports = {
core: {
builder: 'webpack5',
},
};