storybook/docs/api/main-config-vite-final.md
2023-10-19 19:13:29 +01:00

647 B

title
viteFinal

Parent: main.js|ts configuration

Type: (config: Vite.InlineConfig, options: Options) => Vite.InlineConfig | Promise<Vite.InlineConfig>

Customize Storybook's Vite setup when using the Vite builder.

<CodeSnippets paths={[ 'common/main-config-vite-final.js.mdx', 'common/main-config-vite-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.