Quoting Pirate Praveen (2020-11-06 11:37:45)
> Though with more and more browsers supporting ES6 features natively,
> transpiling to ES5 may not be necessary for many packages.
You talk about code where upstream targets ES6.
My recommendation is for code where upstream targets ES5.
I do not
On Fri, Nov 6, 2020 at 11:26, Jonas Smedegaard wrote:
I recommend to use uglify-js 3 instead of terser, when possible.
* Terser can minify modern code (uglify-js 3 only ES5).
* Uglify-js 3 needs 3 nodejs packages to build (terser needs 134).
* Uglify-js 3 package is up-to-date (terser is
I recommend to use uglify-js 3 instead of terser, when possible.
* Terser can minify modern code (uglify-js 3 only ES5).
* Uglify-js 3 needs 3 nodejs packages to build (terser needs 134).
* Uglify-js 3 package is up-to-date (terser is 16 months behind).
Therefore, for code that is written as