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

Question for you - does this work with `webpack --watch` or only work with `webpack`? My guess is that it's not designed to work with `webpack --watch`.

To run a generic shell command, do this: ```js const cp = require('child_process'); const k = cp.spawn('bash'); k.stdin.write('\n'); k.stdin.write('any command you would ever want in any format'); k.stdin.end(); ``` the...

Is there a way to disable a command? I tried to look in the src code and I think this was not handle. I was thinking of this for example...

Would love to see some made for this library. Either bundled with, or published to the definitely typed repository! 😄

Currently using an array/etc executes them all at once, it would be nice to have some way to have it wait for the first before continuing the next one.

Added an option that lets you pass along environment variables to the spawn method that runs the process.

Implementing webpack's `invalid`. I needed this because I'm running an external script, to compile some files using PHP, and generating a `.js` file which should be then processed by webpack....

I'm trying to understand the reasoning behind 170c250 which was [introduced in `v0.4.6`](https://github.com/1337programming/webpack-shell-plugin/compare/f4ac4410bdf8f16b4cf2dd6ddb7b4c4a74eb9fb1...b91968fd532535f654f509b93f1a21c8957ffe5b). Prior to this change, the plugin would pass an error on to Webpack, but as a result...

I use webpack-shell-plugin to run my unit tests after bundling them with webpack (using mocha). In watch mode any failed tests would take down webpack because the shell plugin is...