webpack-shell-plugin icon indicating copy to clipboard operation
webpack-shell-plugin copied to clipboard

Run shell commands either before or after webpack builds

Results 35 webpack-shell-plugin issues
Sort by recently updated
recently updated
newest added

I'm using Loopback lb-ng for generating Angular 1.x services using webpack. So everytime I build the client, I need to execute lb-ng. `onBuildStart: ['lb-ng ../server/server.js lb-services.js']` After the lb-ng command...

I'm running webpack in watch mode and want to start the node script after the build automatically. To avoid the `EADDRINUSE, Address already in use` error, I wan't to kill...

Under windows, scripts which finish with code different than 0 return errors to this callback: https://github.com/1337programming/webpack-shell-plugin/blob/master/src/webpack-shell-plugin.js#L21 I think this is normal behaviour. From the [node docs ](https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback): > If a...

puts is not defined at WebpackShellPlugin.handleScript (C:\Users\加菲猫\workspace\react-boilerplate\node_modules\webpack-shell-plugin\lib\index.js:196:49) I use win32 System to run the plug-in,but it has report an error like this ~~

Analogous to onBuildStart and onBuildEnd, take in a script to execute when there is a webpack compilation error.