[Pkg-javascript-devel] Help with ruby-uglifier patch to replace uglify-harmony with terser
Pirate Praveen
praveen at onenetbeyond.org
Sun Sep 13 11:51:11 BST 2020
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
More information about the Pkg-javascript-devel
mailing list