parcel-plugin-build-hooks
v1.1.0
Published
A plugin for the parcel bundler to run command on build hooks
Downloads
35
Maintainers
Readme
parcel-plugin-build-hooks
Parcel plugin for running command on build hooks.
Installation
$ npm i --save parcel-plugin-build-hooks
Usage
Configure commands in your package.json
:
{
"name": "your-app",
"main": "index.js",
"dependencies": {
"parcel-plugin-build-hooks": "^1.0.0"
},
"parcel-plugin-build-hooks": {
"buildStart": "// Do something",
"bundled": "// Do something",
"buildEnd": "// Do something",
"buildError": "// Do something"
}
}
LICENSE
MIT