cspotcode
Why deno.exec is much larger than bun.exec
Ok, to clarify, which part of this is deno not doing?
"All imported files and packages are bundled into the executable, along with a copy of the Bun runtime."
In my example, I believe that deno is bundling the imported files and packages into the executable. It also includes the runtime, because that's how it executes.
94 replies
How do deno devs bundle .js for browser projects? (SPAs, chrome extensions, etc)
Thanks, does that require writing my own .ts file to do building? I was hoping to run a CLI, an
esbuild
invocation in my justfile
/ makefile
, or something like that.9 replies
Tools to shrink the output of deno compile?
This blog says 1.41 shrank the binaries from ~116MB to ~58MB, but deno 2 .exes are ~80MB
https://deno.com/blog/v1.41#smaller-deno-compile-binaries
6 replies