Documentation
    Preparing search index...
    interface VitePluginConfig {
        build: VitePluginBuildConfig[];
        concurrent?: number | boolean;
        hotRestart?: boolean;
        renderer: VitePluginRendererConfig[];
    }
    Index

    Properties

    Build anything such as Main process, Preload scripts and Worker process, etc.

    concurrent?: number | boolean

    Run builds concurrently. If a boolean is provided, targets specified in the build and renderer configurations will be run concurrently. If a number is provided, it will limit the number of concurrent builds.

    Limit concurrency if you are running into memory constraints when packaging.

    true

    hotRestart?: boolean

    Restart the running app whenever the main process bundle is rebuilt during electron-forge start. Has no effect when packaging.

    false

    Renderer process Vite configs.