Reload all visible tabs in your current window with one button click.
Run these in two different terminals.
-
This runs
webpack
in watch mode.pnpm dev
-
This runs
web-ext
and loads the extension in Firefox.npm start
This will transpile the plugin and build a zip
file for the extension.
The zip
will be put in ./build
.
pnpm build
Define your api key / secret in your environment then run the following.
Credentials can be found at https://addons.mozilla.org/en-US/developers/addon/api/key/
This generates an xpi
file and it will be put in ./build
.
pnpm sign -- --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET