[Pkg-javascript-devel] Bug#933518: Bug#933518: Provide /usr/lib/nodejs/terser/bin/uglifyjs as an alternative to uglifyjs command

Pirate Praveen praveen at onenetbeyond.org
Thu Aug 1 09:56:38 BST 2019



On 2019, ഓഗസ്റ്റ് 1 1:41:15 PM IST, Jonas Smedegaard <jonas at jones.dk> wrote:
>Quoting Pirate Praveen (2019-07-31 03:50:46)
>> terser is a drop in replacement for uglifyjs.
>
>No: Terser is ABI-compatible but support only a subset of code
>supported 
>by Uglifyjs.

Can you share the details or example packages that work with uglifyjs but does not work with terser?

As far as I understand, it is the other way around - uglifyjs supports only ES5 whereas terser supports ES5, ES6 and beyond. I'd be happy to correct if relevant reference is provided.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the Pkg-javascript-devel mailing list