Google Closure compiler seems to already support this out of the box: <a href="https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;closure-compiler&#x2F;wiki&#x2F;ECMAScript6" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;closure-compiler&#x2F;wiki&#x2F;ECMAScript6</a><p>Edit: s&#x2F;good&#x2F;support&#x2F;