parcel-plugin-build-hooks

A plugin for the parcel bundler to run command on build hooks

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
parcel-plugin-build-hooks
1.1.04 years ago4 years agoMinified + gzip package size for parcel-plugin-build-hooks in KB

Readme

parcel-plugin-build-hooks
Latest release
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