A webpack plugin that runs
child_process.spawn within compilation.
$ npm install --save-dev webpack-spawn-plugin
const config =...plugins:'node' '.' options
The Webpack compiler hook during which the process will be spawned.
The output stream to which stdout and stderr will be sent.
Indicates whether the spawned process should be replaced every time the hook is called.
Note: You can pass more options to process.spawn in the
MIT © Diego Haz