extension
Version:
Create cross-browser extensions with no build configuration.
6 lines (5 loc) • 494 B
TypeScript
export declare function resolveModuleEntry(modulePath: string, pkgJson: any): string | undefined;
export type Browser = 'chrome' | 'edge' | 'firefox' | 'chromium' | 'chromium-based' | 'gecko-based' | 'firefox-based';
export declare function parseOptionalBoolean(value?: string): boolean;
export declare const vendors: (browser?: Browser | "all") => string[];
export declare function validateVendorsOrExit(vendorsList: string[], onInvalid: (invalid: string, supported: string[]) => void): void;