Skip to content

mmktomato/parcel-plugin-web-ext-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

This plugin is for Parcel v1. The Parcel v2 version is here.

parcel-plugin-web-ext-tool

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

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

Usage

Run parcel watch or parcel serve in any way you like.

Config

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.

Development

See DEVELOPMENT.md.