storybook/code/lib/builder-webpack5

Builder-Webpack5

Builder implemented with webpack5 and webpack5-compatible loaders/plugins/config, used by @storybook/core-server to build the preview iframe.

module.exports = {
  core: {
    builder: 'webpack5',
  },
};