3 ms·
You can’t? I haven’t used it, but what’s wrong with “deno compile?” https://docs.deno.com/runtime/reference/cli/compile/ https://docs.deno.com/runtime/referenc
by skybrian 1y ago
You can’t? I haven’t used it, but what’s wrong with “deno compile?”
https://docs.deno.com/runtime/reference/cli/compile/ https://docs.deno.com/runtime/reference/cli/compile/
- shim__ 1y agoSounds like electron but for cli
- chainwax 1y agoI does indeed bundle it's runtime into the executable, but this is not dissimilar from Go bundling it's gc into every executable. Granted a compiled hello world Go program will be <2mb while a similar compiled Deno program will be more like 70. I imagine many usecases may not have a storage constraint though, and in that case why not?
- ashishb 1y agoMy problem is running post install step of 100+ npm packages on my machine. Any of those could be malicious. https://www.sentinelone.com/blog/unseen-threats-in-software-development-the-perils-of-trojanized-npm-packages/ https://www.sentinelone.com/blog/unseen-threats-in-software-...
- ashishb 1y agoYou are the fifth person who told me that this can be done but have never used it. If this compile approach is so awesome why don't devs use it?