Search code examples
javascriptnode.jsminifyuglifyjsecmascript-2017

Javascript minifier supporting ES2017 async/await feature


Currently appears as UglifyJS2 and Google Closure doesn't support JavaScript minification of scripts including async/await usage without transpiling them.

Is there a way or another minifier to get these JavaScript scripts minified without the need to transpile them?


Solution

  • UglifyJS introduced support for async/await in uglify-es@3.0.17 ( https://github.com/mishoo/UglifyJS2/issues/1789)