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

Create an options object for each plugin instance

Open alreece45 opened this issue 6 years ago • 0 comments

When using webpack-shell-plugin, the same options object appears to be reused for different instances. As a result, only one instance is usable at a time. This is problematic when using multiple configurations, if they run different commands.

This patch creates a new object for each instance in mergeOptions, rather than changing defaults

Fixes #56

alreece45 avatar Oct 09 '18 19:10 alreece45