viteFinal
¥Parent: main.js|ts configuration
类型:(config: Vite.InlineConfig, options: Options) => Vite.InlineConfig | Promise<Vite.InlineConfig>
¥Type: (config: Vite.InlineConfig, options: Options) => Vite.InlineConfig | Promise<Vite.InlineConfig>
使用 Vite 构建器 时自定义 Storybook 的 Vite 设置。
¥Customize Storybook's Vite setup when using the Vite builder.
.storybook/main.ts
Options
类型:{ configType?: 'DEVELOPMENT' | 'PRODUCTION' }
¥Type: { configType?: 'DEVELOPMENT' | 'PRODUCTION' }
还有其他难以在此处记录的选项。请自省类型定义以获取更多信息。
¥There are other options that are difficult to document here. Please introspect the type definition for more information.