UNPKG

extension-develop

Version:
19 lines (18 loc) 635 B
import { Compiler } from '@rspack/core'; import { type FilepathList, type PluginInterface } from '../../webpack-types'; /** * ResourcesPlugin is responsible for adding resources required * by the user and the content_scripts to the manifest.json file. * * Feature supported: * * - web_accessible_resources paths in the manifest.json file. * - Assets imported from content_scripts files. */ export declare class WebResourcesPlugin { readonly manifestPath: string; readonly includeList?: FilepathList; constructor(options: PluginInterface); private generateManifestPatches; apply(compiler: Compiler): void; }