UNPKG

wxt

Version:

⚡ Next-gen Web Extension Framework

7 lines (6 loc) 289 B
import type * as vite from 'vite'; import { ResolvedConfig } from '../../../../types'; /** * Mock `wxt/browser` and stub the global `browser`/`chrome` types with a fake version of the extension APIs */ export declare function extensionApiMock(config: ResolvedConfig): vite.PluginOption;