flowchart TD
A(Popup menu) -->|Open this url in a new window| B(Background)
B --> C((WXT API))
C --> D(Chrome Extension API)
C --> E(Firefox Extension API)
- entrypoints/popup: The content when you click the extension menu in the browser.
- entrypoints/content: The popup menu that you see on the web page.
- background: To access the WebExtension API using WXT, such as creating a new window.
# chromium
npm run build
# firefox
npm run build:firefoxYou will see the output in the dist/ directory.
Update the repo with npm version patch/minor/major to automatically create a git tag and automatically update the package.json version.