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

[image-url] Feature request: publish an ES5 compatible bundle #560

Closed
ryami333 opened this issue Feb 4, 2018 · 2 comments
Closed

[image-url] Feature request: publish an ES5 compatible bundle #560

ryami333 opened this issue Feb 4, 2018 · 2 comments

Comments

@ryami333
Copy link

ryami333 commented Feb 4, 2018

Unfortunately, the image-url library is not compatible with Uglify 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.

@bjoerge
Copy link
Member

bjoerge commented Feb 5, 2018

This wasn't intentional. Thanks for reporting! Will be fixed in next release 🎉

@rexxars
Copy link
Member

rexxars commented Feb 5, 2018

Fixed in 0.125.4

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

No branches or pull requests

3 participants