mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 04:51:06 +08:00
- Add `babelDefault` and `managerHead` pages - Fix broken links - Clarify when some properties are primarily used by addon authors - Document simplified options for `babel`, `babelDefault`, `viteFinal`, and `webpackFinal` - Add description for `core.channelOptions` - Remove the `previewMainTemplate` page - Document possible shortcomings of some `stories` configurations - Document limitations of some `typescript` options
627 B
627 B
title |
---|
webpackFinal |
Parent: main.js|ts configuration
Type: async (config: Config, options: WebpackOptions) => Config
Customize Storybook's Webpack setup when using the webpack builder.
<CodeSnippets paths={[ 'common/main-config-webpack-final.js.mdx', 'common/main-config-webpack-final.ts.mdx', ]} />
Options
Type: { configType?: 'DEVELOPMENT' | 'PRODUCTION' }
There are other options that are difficult to document here. Please introspect the type definition for more information.