Skip to content

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