-
Notifications
You must be signed in to change notification settings - Fork 421
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
[image-url] Feature request: publish an ES5 compatible bundle #560
Comments
This wasn't intentional. Thanks for reporting! Will be fixed in next release 🎉 |
Fixed in 0.125.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, the
image-url
library is not compatible withUglify
because it is published in ES6 only, so unless the user explicitly configures their bundler to transpile it on build then Uglify will crash. For some users this is trivial, but for use with a SPA framework like Create React App or Gatsby then the user might not have visibility over this configuration, causing issues like this one.The text was updated successfully, but these errors were encountered: