You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(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:
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
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: