Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1 KB

DEVELOPMENT.md

File metadata and controls

57 lines (40 loc) · 1 KB

Development

Clone this repo and install dependencies

yarn install

Watch mode

Enter the watch mode by running

yarn firefox

or

yarn chrome

This will watch the src directory and output a development bundle in the dist directory. You can load this unpacked directory into your browser or open a browser with the extension installed by running

yarn run:firefox

or

yarn run:chrome

Build and pack for Firefox

yarn build:firefox
yarn pack:firefox

Running yarn build firefox will output a production build in the dist/firefox directory, yarn pack:firefox uses web-ext to generate a zip file, this will be located in the releases/firefox directory.

Build and pack for Chrome

yarn build:chrome
yarn pack:chrome

Running yarn build chrome will output a production build in the dist/chrome directory, yarn pack:chrome uses web-ext to generate a zip file, this will be located in the releases/chrome directory.