[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help with ruby-uglifier patch to replace uglify-harmony with terser



Hi,

I have managed to replace uglify-harmony.js (embedded copy, generated file, not packaged in debian and unmaintained upstream) with terser in ruby-uglifier. Here is the initial rough patch.

https://salsa.debian.org/ruby-team/ruby-uglifier/-/blob/master/debian/patches/005-use-terser.patch

But I'm sure someone more skilled than me in programming can improve this and avoid duplication of code.

Can someone help make that better?

I have also shared this with upstream https://github.com/lautis/uglifier/issues/142#issuecomment-691655053

Thanks
Praveen



Reply to: