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

fix(webpack): deepClone before calling extendConfig #4464

Merged
merged 2 commits into from Nov 30, 2018
Merged

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Nov 30, 2018

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

I've found this bug when working on #4439. In client/extendConfig we directly mutate things like config.optimization.minimize just before cloning config. This was hidden because it is internally used for client and modern that share a same minimizer.

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly. (PR: #)
  • I have added tests to cover my changes (if not applicable, please state why)
  • All new and existing tests are passing.

@pi0 pi0 requested a review from clarkdo November 30, 2018 19:48
@clarkdo clarkdo merged commit 06ddfbb into dev Nov 30, 2018
@clarkdo clarkdo deleted the fix/webpack-clone branch November 30, 2018 20:22
pi0 added a commit that referenced this pull request Nov 30, 2018
@lock
Copy link

lock bot commented Dec 30, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 30, 2018
@danielroe danielroe added the 2.x label Jan 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants