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

yui-compressor can't compress jQuery 2.2+ #365

Closed
cburschka opened this issue Apr 23, 2016 · 0 comments
Closed

yui-compressor can't compress jQuery 2.2+ #365

cburschka opened this issue Apr 23, 2016 · 0 comments
Assignees
Labels

Comments

@cburschka
Copy link
Owner

As seen in yui/yuicompressor/issues/234, jQuery 2.2+ uses ES5 syntax that yui-compressor does not accept.

This means JS compression is broken for now, until we find a new compressor.

A short term solution might be to exclude jQuery from JS aggregation and just use jquery.min.js as distributed from the CDN (or for that matter return to linking to the CDN directly, because adding it to the source tree wasn't that great in hindsight). However, as libraries (and core code) are increasingly adopting ES5 syntax, this will not help in the long run.

@cburschka cburschka added the bug label Apr 23, 2016
@cburschka cburschka added this to the 1.12.0 - Trixie milestone Apr 23, 2016
@cburschka cburschka self-assigned this Apr 23, 2016
cburschka added a commit that referenced this issue May 19, 2016
This tool is no longer usable.
cburschka added a commit that referenced this issue May 19, 2016
This tool is no longer usable.
cburschka added a commit that referenced this issue May 22, 2016
The requirements and configuration arguments must be updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant