An example of a cross-browser webextension using webextension-toolbox, react, redux and webext-redux.
$ npm install
webextension-toolbox dev chrome
webextension-toolbox dev firefox
webextension-toolbox dev opera
webextension-toolbox dev edge
webextension-toolbox build chrome
webextension-toolbox build firefox
webextension-toolbox build opera
webextension-toolbox build edge
The build tool also defines a variable named process.env.NODE_ENV
in your scripts.
- Initial project was generated with yeoman web-extension
- Interactive build and polyfill handled by webextension-toolbox