[Pkg-javascript-devel] Rollup do _not_ need migrating to terser from UglifyJS

Jonas Smedegaard dr at jones.dk
Thu Oct 10 17:50:43 BST 2019


Hi all,

It seems Rollup 0.56.3 (or some of its dependencies) had a bug causing 
it to generate a .map file causing UglifyJS (but not Terser) to fail.

This was discovered as part of bug#941601 against leaflet-markercluster 
where I found the proposed switch of compressor too invasive and had a 
closer look at what was really going in.

The bug seems fixed now with Rollup 0.68.2-1.  Please tell if relevant 
to file it for further tracking.

Reason I post here is that as part of the Rollup work, Pirate Praveen 
provided a patch for Leaflet.Markercluster which involved switching from 
UglifyJS to Terser, and I want to emphasize that such change is _not_ 
necessary and I recommend switching back if similar tricks was done for 
other libraries.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20191010/008cf620/attachment.sig>


More information about the Pkg-javascript-devel mailing list