This is based on Chrome Manifest V3.
npm installBROWSER=chrome ENV=local npm run confignpm run build- Open chrome://extensions, enable Developer mode, and choose
Load unpacked. - Select and upload
distfolder
To build automatically on doing changes in source files (Watch mode):
npm run watchOpen another terminal instance, navigate to browser-extension/common and run: npm run watch.
- Run release script:
./release-extension.sh - Open
chrome://extensionsand disable installed Requestly extension(s) - Drag newly generated zip file from
browser-extension/mv3/builds/chrometo this page. - Test Requestly rules.
- Delete the earliest build in
builds/chromedirectory. We want to keep only 3 previous builds. - Upload the build to Chrome Store.
- Commit the changes:
git add . && git commit -m "Requestly MV3 va.b.c released"