Skip to content

Conversation

constgen
Copy link

Fixes #235

This PR contains:

  • bugfix
  • feature
  • refactor
  • tests
  • documentation
  • metadata

Breaking Changes?

  • yes
  • no

If yes, please describe the breakage.

Please Describe Your Changes

Resolves problems with DefinePlugin which throws warnings because some variables are changed between rebuilds. The reason is that 3rd party middleware mutates options object passed to it.

@constgen
Copy link
Author

Can't realize how to test Webpack output. Are there any tests like this for a reference?

@constgen
Copy link
Author

I think can test that options passed to the plugin are not mutated at all

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.

WARNING in DefinePlugin Conflicting values for 'ʎɐɹɔosǝʌɹǝs'
1 participant