bkg
bkg copied to clipboard
How is this different with bun build --compile
Now bun support building to single binary output. How this is different ?
Sayan created bkg when nothing similar was provided on Bun, well before bun compile. What I believe is that it served as a good strategy to inspire Bun maintainers to create such feature.
Of course, only Sayan can better tell us about this :)
In my samples as simple as console.log this builder provide more tiny binaries. At least in macOS x86_64.
In other hand I think bun does not support cross compilation at this moment.
I mean, probably at any point this package probably will be deprecated but by the moment provides some good features Bun.compile isn't supporting yet.