storybook/docs/api/main-config/main-config-vite-final.mdx
Charles de Dreuille 2d32ceaba6 API Main config
2024-06-17 18:56:10 +01:00

25 lines
619 B
Plaintext

---
title: 'viteFinal'
sidebar:
order: 22
title: viteFinal
---
Parent: [main.js|ts configuration](./main-config.mdx)
Type: `(config: Vite.InlineConfig, options: Options) => Vite.InlineConfig | Promise<Vite.InlineConfig>`
Customize Storybook's Vite setup when using the [Vite builder](../../builders/vite.mdx).
{/* prettier-ignore-start */}
<CodeSnippets path="main-config-vite-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.