A simple boilerplate for developing WebExtensions using webpack.
- babel
- Can create different builds for each browser
- UnitTests with Jest
Use npm 6+.
npm install
For Chrome:
npm run build-chrome
For Firefox:
npm run build-firefox
Run the all the tests.
npm run test
And here is an useful way that re-run tests automatically when a file has changed.
npm run test-watch
webextensions-webpack-boilerplate is published under the MIT license.