mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 06:51:17 +08:00
25 lines
599 B
Plaintext
25 lines
599 B
Plaintext
---
|
|
title: 'webpackFinal'
|
|
sidebar:
|
|
order: 23
|
|
title: webpackFinal
|
|
---
|
|
|
|
Parent: [main.js|ts configuration](./main-config.mdx)
|
|
|
|
Type: `async (config: Config, options: WebpackOptions) => Config`
|
|
|
|
Customize Storybook's Webpack setup when using the [webpack builder](../../builders/webpack.mdx).
|
|
|
|
{/* prettier-ignore-start */}
|
|
|
|
<CodeSnippets path="main-config-webpack-final.md" />
|
|
|
|
{/* prettier-ignore-end */}
|
|
|
|
## `Options`
|
|
|
|
Type: `{ configType?: 'DEVELOPMENT' | 'PRODUCTION' }`
|
|
|
|
There are other options that are difficult to document here. Please introspect the type definition for more information.
|