Parent: main.js|ts configuration
Type:
Configures Storybook's internal features.
Type:
Configures Storybook's builder, Vite or Webpack.
๐กWith the new Framework API, framework.options.builder
is now the preferred way to configure the builder.
You should only use core.builder.options
if you need to configure a builder that is not part of a framework.
Type: ChannelOptions
Configures the channel used by Storybook to communicate between the manager and preview.
Only two properties are likely to be used:
Type: boolean
Default: false
Enables serializing functions across the channel, which can be a security risk.
Type: number
Default: 3
The maximum depth of nested objects to serialize across the channel. Larger values will be slower.
Type: boolean
Enable CORS headings to run document in a "secure context". See SharedArrayBuffer security requirements
This enables these headers in development-mode:
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp
Type: boolean
Disables the generation of project.json
, a file containing Storybook metadata
Type: boolean
Disables Storybook's telemetry collection.
Type: boolean
Disables Storybook's default Webpack configuration.
Type: boolean
Disables the "What's New" notifications in the UI for new Storybook versions and ecosystem updates (e.g., addons, content, etc.).
Type: boolean
Enable crash reports to be sent to Storybook telemetry.
Type: RendererName