extension-develop
Version:
The develop step of Extension.js
19 lines (18 loc) • 635 B
TypeScript
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;
}