1.0.0 • Published 7 months ago
@wxt-dev/webextension-polyfill v1.0.0
@wxt-dev/webextension-polyfill
Configures wxt/browser
to import browser
from webextension-polyfill
instead of using the regular chrome
/browser
globals WXT normally provides.
Usage
pnpm i @wxt-dev/webextension-polyfill webextension-polyfill
Then add the module to your config:
// wxt.config.ts
export default defineConfig({
modules: ['@wxt-dev/webextension-polyfill'],
});
1.0.0
7 months ago