Documentation
    Preparing search index...
    interface VitePluginBuildConfig {
        config: string;
        entry: NonNullable<string | string[] | Record<string, string> | undefined>;
        target?: "main" | "preload";
    }
    Index

    Properties

    Properties

    config: string

    Vite config file path.

    entry

    entry: NonNullable<string | string[] | Record<string, string> | undefined>

    Alias of build.lib.entry in config.

    target?: "main" | "preload"

    The build target is main process or preload script.

    'main'