rollup-plugin-chrome-extension
Version:
Build Chrome Extensions with this Rollup plugin.
13 lines (12 loc) • 919 B
TypeScript
import { ManifestInputPlugin, ManifestInputPluginOptions } from '../plugin-options';
export declare const explorer: {
readonly search: (searchFrom?: string | undefined) => import("cosmiconfig/dist/types").CosmiconfigResult;
readonly load: (filepath: string) => import("cosmiconfig/dist/types").CosmiconfigResult;
readonly clearLoadCache: () => void;
readonly clearSearchCache: () => void;
readonly clearCaches: () => void;
};
export declare const stubChunkNameForCssOnlyCrx = "stub__css-only-chrome-extension-manifest";
export declare const importWrapperChunkNamePrefix = "__RPCE-import-wrapper";
export declare function manifestInput({ browserPolyfill, contentScriptWrapper, crossBrowser, dynamicImportWrapper, extendManifest, firstClassManifest, iifeJsonPaths, pkg, publicKey, verbose, wrapContentScripts, cache, }?: ManifestInputPluginOptions): ManifestInputPlugin;
export default manifestInput;