webpack-hooks-shellscripts
Just triggers some shellscripts on webpack compiler hooks.
Install
yarn add -D webpack-hooks-shellscripts
Usage
Add the plugin to your webpack config.
// webpack.config.jsconst hooksScriptPlugin = moduleexports = plugins:
API
hooksShellScriptsPlugin(bindings)
bindings
Type: object
Hooks/Scripts bindings.
// example beforeRun: 'echo "do this"' 'echo "then that"' beforeCompile: './do-something'
See https://webpack.js.org/api/compiler-hooks/ to get an exhaustive hooks list.
License
MIT © Nutshell