UNPKG

rollup-plugin-chrome-extension

Version:

Build Chrome Extensions with this Rollup plugin.

34 lines (33 loc) 971 B
/// <reference types="chrome" /> import { OutputChunk } from 'rollup'; export declare const derivePermissions: (set: Set<string>, { code }: OutputChunk) => Set<string>; export declare function deriveFiles(manifest: chrome.runtime.Manifest, srcDir: string, options: { contentScripts: boolean; }): { css: string[]; contentScripts: string[]; js: string[]; html: string[]; img: string[]; others: string[]; }; export declare function deriveFilesMV3(manifest: chrome.runtime.ManifestV3, srcDir: string, options: { contentScripts: boolean; }): { css: string[]; contentScripts: string[]; js: string[]; html: string[]; img: string[]; others: string[]; }; export declare function deriveFilesMV2(manifest: chrome.runtime.ManifestV2, srcDir: string, options: { contentScripts: boolean; }): { css: string[]; contentScripts: string[]; js: string[]; html: string[]; img: string[]; others: string[]; };