- Run
yarn build
- Load the unpacked extension in chrome
- Open the popup window
- Click on the button
- You will see the error in the console (With chrome in popup window and with firefox in background script)
- When you run
yarn dev
, the messaging works and you can send messages to background script.
Getting Started
Run the following commands to install dependencies and start developing
yarn install
yarn dev
Scripts
yarn dev
- runwebpack
inwatch
modeyarn build
- builds the production-ready unpacked extensionyarn prettify
- runs Prettier