wext-manifest-transformer
Version:
Transformer that lets you specify `manifest.json` properties to appear only in specific browsers.
19 lines (18 loc) • 573 B
TypeScript
export declare const ENVKeys: {
readonly DEV: "dev";
readonly PROD: "prod";
};
export declare const Browser: {
readonly CHROME: "chrome";
readonly FIREFOX: "firefox";
readonly EDGE: "edge";
readonly BRAVE: "brave";
readonly OPERA: "opera";
readonly VIVALDI: "vivaldi";
readonly ARC: "arc";
readonly YANDEX: "yandex";
};
export type BrowserType = (typeof Browser)[keyof typeof Browser];
export declare const browserVendors: BrowserType[];
export declare const envVariables: string[];
export declare const CUSTOM_PREFIX_REGEX: RegExp;