parcel-plugin-web-extension
This parcel plugin enables you to use a WebExtension manifest.json
as an entry point. For more information about manifest.json
, please refer to the MDN docs.
Installation
Install via npm:
npm install --save-dev parcel-plugin-web-extension
or via yarn:
yarn add -D parcel-plugin-web-extension
Usage
After installing this plugin, use manifest.json
as your entry point, like so:
parcel src/manifest.json
Your assets will now be resolved from the contents of your manifest file.
Assets resolved by this plugin:
background.scripts
background.page
content_scripts
browser_action.default_popup
browser_action.default_icon
page_action.default_popup
page_action.default_icon
icons
web_accessible_resources
Licence
Apache 2.0