Sanity Library Reference Docs
    Preparing search index...

    Type Alias UserViteConfigBeta

    UserViteConfig:
        | (
            (
                config: InlineConfig,
                env: ConfigEnv,
            ) => InlineConfig | Promise<InlineConfig>
        )
        | InlineConfig

    Custom Vite configuration for the Studio so it can be changed and extended. This type matches the type in @sanity/cli-core and must continue to remain compatible.

    This feature is subject to breaking changes.