Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

shell-script-webpack-plugin

yiyu.liao5ISC1.0.0

A webpack plugin to run shell script by trgger webpack compiler hooks

webpack, shell script, hook

readme

Shell script Plugin

A webpack plugin to run shell script by trgger webpack compiler hooks

How to use 🤪?

install

npm i --save-dev shell-script-webpack-plugin

webpack config

const ShellScript = require('shell-script-webpack-plugin');

module.exports = {
    plugins: [new ShellScript({
        watchRun: 'your script'
    })]
}

webpack hooks