--- title: 'viteFinal' --- Parent: [main.js|ts configuration](./main-config.md) Type: `(config: Vite.InlineConfig, options: Options) => Vite.InlineConfig | Promise` Customize Storybook's Vite setup when using the [Vite builder](../builders/vite.md). ## `Options` Type: `{ configType?: 'DEVELOPMENT' | 'PRODUCTION' }` There are other options that are difficult to document here. Please introspect the type definition for more information.