Deno actually has had a built in compile to binary feature * I've used it before a few times.

* https://docs.deno.com/runtime/reference/cli/compile/