Another option is to use TeaVM, which already supp...
# javascript
k
Another option is to use TeaVM, which already supports dead code elimination, and produces relatively small JS (about 90 Kb of unminified JS for simple Hello World, with usually about 2.5x rate of minification gives about 40 Kb)