This plugin is for Parcel v1. The Parcel v2 version is here.
A parcel plugin for web-ext. This plugin integrates Parcel and web-ext.
If you run parcel watch or parcel serve, the plugin runs web-ext run within it. If you modify your extension code, Parcel detects it and rebuilds, then web-ext detects it and reloads your extension.
Install via npm. In addtion, you need to install parcel-bundler and web-ext by yourself.
$ npm install --save-dev parcel-bundler web-ext parcel-plugin-web-ext-tool
Run parcel watch or parcel serve in any way you like.
You can specify web-ext's settings via config files. The plugin reads config files in the following order. The same option is overwritten by the latter one.
- ~/.web-ext-config.js
- package.json
- web-ext-config.js
See web-ext's official doc for details.
See DEVELOPMENT.md.