extension-develop
Version:
The develop step of Extension.js
20 lines (19 loc) • 788 B
TypeScript
import { type PluginInterface } from '../../../webpack-types';
export interface ManifestFields {
html: Record<string, any>;
icons: Record<string, any>;
json: Record<string, any>;
scripts: Record<string, any>;
web_accessible_resources: Record<string, any>;
}
export declare function getManifestFieldsData({ manifestPath, browser }: PluginInterface): {
html: Record<string, string | undefined>;
icons: Record<string, string | string[] | import("../../../webpack-types").ThemeIcon[] | undefined>;
json: Record<string, string | undefined>;
locales: string[] | undefined;
scripts: Record<string, string | string[] | undefined>;
web_accessible_resources: (string[] & {
resources: string[];
matches: string[];
}[]) | undefined;
};