UNPKG

extension-develop

Version:
13 lines (12 loc) 396 B
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; }