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

Fixing ignore option causing failure #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

grunka
Copy link

@grunka grunka commented Nov 23, 2022

Passing in ignore fails due to it being a valid option for uglifyify but not for terser preventing it from being used.

This would fail, with a list of patterns to ignore or even an empty list:

b.transform('@browserify/uglifyify', { ignore: [] });

The change deletes the ignore option after checking it.

Also removed the use of xtend since when I looked at it to see if the deleting of a property would break something else the documentation for it made it very clear that it shouldn't be used.

So deleting it from the options after checking it.
Also removing xtend use since it isn't needed
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