Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve immutability for options.historyFallback #236

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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