extension-develop
Version:
The develop step of Extension.js
29 lines (28 loc) • 1.05 kB
TypeScript
import { type Compiler } from '@rspack/core';
import { PluginInterface } from '../browsers-types';
import { DevOptions } from '../../../develop-lib/config-types';
export declare class RunChromiumPlugin {
readonly extension: string | string[];
readonly browser: DevOptions['browser'];
readonly browserFlags?: string[];
readonly excludeBrowserFlags?: string[];
readonly profile?: string | false;
readonly preferences?: Record<string, any>;
readonly startingUrl?: string;
readonly autoReload?: boolean;
readonly stats?: boolean;
readonly chromiumBinary?: string;
readonly port?: string | number;
readonly instanceId?: string;
readonly source?: string;
readonly watchSource?: boolean;
readonly reuseProfile?: boolean;
readonly dryRun?: boolean;
private browserProcess?;
constructor(options: PluginInterface);
private launchChromium;
private launchWithDirectSpawn;
private setupProcessSignalHandlers;
private cleanupInstance;
apply(compiler: Compiler): void;
}