extension-develop
Version:
The develop step of Extension.js
14 lines (13 loc) • 611 B
TypeScript
import { Compilation } from '@rspack/core';
import FirefoxProfile from 'firefox-profile';
import { BrowserConfig, DevOptions } from '../../../../develop-lib/config-types';
interface FirefoxProfileOptions {
browser: DevOptions['browser'];
userProfilePath: string | false | undefined;
configPreferences: BrowserConfig['preferences'];
keepProfileChanges?: boolean;
copyFromProfile?: string;
instanceId?: string;
}
export declare function createProfile(compilation: Compilation, { browser, userProfilePath, configPreferences, instanceId }: FirefoxProfileOptions): FirefoxProfile;
export {};