-
Notifications
You must be signed in to change notification settings - Fork 39
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add option to use ES.next syntax features for even smaller minified output #100
Comments
mathiasbynens
changed the title
Add option to use ES.next syntax for even smaller minified output
Add option to use ES.next syntax features for even smaller minified output
Feb 5, 2015
Nice. Now,
Maybe 1 is easy. We need to do 2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The option could be something like:
…or
es2015
or a more genericesnext
.A simple example of what it would do:
…currently minifies to:
With ES.next syntax it could be:
(Only watch out for function bodies that make use of the
this
binding.)There’s far more things that could be done, e.g. string literals containing new line characters or lots of quotes could sometimes be shortened by using template strings, etc.
The text was updated successfully, but these errors were encountered: