Parcel plugin for running command on build hooks.
$ npm i --save parcel-plugin-build-hooks
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"
}
}
MIT