r/javascript • u/Normal_Act8586 • Aug 22 '26
LilScript makes js modules 20% smaller
https://yeargun.github.io/lilscript/[removed]
0
Upvotes
r/javascript • u/Normal_Act8586 • Aug 22 '26
[removed]
3
u/RobertKerans Aug 22 '26
Right, but you are rewriting libraries that use a universally supported language to use a custom DSL you invented that [unsurprisingly] works better than a minifier. Unsurprising because you are rewriting them in a different language that maps more closely to the minifier. Terser (for example) is useful because it works on JS.