-
Notifications
You must be signed in to change notification settings - Fork 42
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
Fails with (uglify plugin) TypeError: regex.test is not a function #51
Comments
I get it. Thanks for reporting. Could you use v4 for now? |
Yes sure, I'll keep using v4 until this is fixed. |
I just ran into a similar issue. Passing a regex to |
Gonna fix after next rollup release with new lifecycle hooks |
When passing an Uglify option that is a regex, Uglify fails with error
TypeError: regex.test is not a function
as it seemsrollup-plugin-uglify
somehow transform regexps into strings.It might happen when passing the option object to the
jest-worker
.Here is the config to reproduce:
The text was updated successfully, but these errors were encountered: