- node.js v18
Run sh build.sh
in the root of this folder.
Go to /dist/web-ext-artifacts/
and find a file named punk_domains-***.zip
(if you need an XPI file, rename this punk_domains-***.zip
file into punk_domains-***.xpi
).
Open Firefox and go to about:debugging#/runtime/this-firefox
. Then click the Load Temporary Add-on...
button and choose the ZIP file.
The add-on is now installed.
Quickstart:
npm install
npm run serve
Firefox will open automatically with Add-ons.
npm run build
Open Firefox and go to "about:debugging#/runtime/this-firefox".
Click "Load Temporary Add-on..." button and choose zip file in /dist/web-ext-artifacts/punk_domains-***.zip
.
npm run prod
Do not zip the dist folder manually. Instead, go to /dist/web-ext-artifacts/
and find a file named punk_domains-***.zip
.
Reference this article