Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.18 KB

File metadata and controls

50 lines (33 loc) · 1.18 KB

Browser Extension (MV3)

This is based on Chrome Manifest V3.

Install dependencies

npm install

Local development

Configuration

BROWSER=chrome ENV=local npm run config

Run on Chrome

npm run build

Load extension in Chrome

  • Open chrome://extensions, enable Developer mode, and choose Load unpacked.
  • Select and upload dist folder

Build in watch mode

To build automatically on doing changes in source files (Watch mode):

npm run watch

Open another terminal instance, navigate to browser-extension/common and run: npm run watch.

Release Process

Beta deployment for Chrome:

  1. Run release script: ./release-extension.sh
  2. Open chrome://extensions and disable installed Requestly extension(s)
  3. Drag newly generated zip file from browser-extension/mv3/builds/chrome to this page.
  4. Test Requestly rules.
  5. Delete the earliest build in builds/chrome directory. We want to keep only 3 previous builds.
  6. Upload the build to Chrome Store.
  7. Commit the changes: git add . && git commit -m "Requestly MV3 va.b.c released"