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: mangling variables in default parameters #1024

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

Conversation

binary-person
Copy link

fixes #1023 and #974

@jamonholmgren
Copy link

jamonholmgren commented Dec 17, 2023

This fixes an issue I'm running into related to #974; it would be awesome to get some attention and merge this in.

In the meantime, since I'm using Yarn 3 to manage a monorepo, I made a new Yarn patch for this. You should be able to adapt this for patch-package as well... here's the original patch.

Thanks @binary-person for this PR!

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.

minify-mangle-names fail when default parameters are assigned to a variable
2 participants