Skip to content

Create an options object for each plugin instance#68

Open
alreece45 wants to merge 1 commit into1337programming:masterfrom
alreece45:instance-options
Open

Create an options object for each plugin instance#68
alreece45 wants to merge 1 commit into1337programming:masterfrom
alreece45:instance-options

Conversation

@alreece45
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant