JSPM

@storybook/builder-webpack5

6.5.14-alpha.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3727133
  • Score
    100M100P100Q220316F
  • License MIT

Storybook framework-agnostic API

Package Exports

  • @storybook/builder-webpack5
  • @storybook/builder-webpack5/dist/cjs/index.js
  • @storybook/builder-webpack5/dist/esm/index.js
  • @storybook/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars

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',
  },
};