extension-develop
Version:
The develop step of Extension.js
13 lines (12 loc) • 396 B
TypeScript
import { Compiler } from '@rspack/core';
import { PluginInterface } from '../webpack-types';
/**
* PolyfillPlugin is responsible for providing the `browser`
* global variable to the extension's codebase.
*/
export declare class PolyfillPlugin {
readonly manifestPath: string;
readonly browser?: string;
constructor(options: PluginInterface);
apply(compiler: Compiler): void;
}