sebovzeoueb
Is there a simple way to bundle the directory served by serveStatic into a single file executable?
in theory I can make a client javascript directory and build that to a single file and then only do the awful raw HTML to include that script
118 replies
Is there a simple way to bundle the directory served by serveStatic into a single file executable?
one of the quite annoying issues that I haven't yet figured out a good fix for is that there doesn't seem to be a way to include any client side JavaScript in the executable because bun thinks all
.js
files are supposed to be part of the exe118 replies
Is there a simple way to bundle the directory served by serveStatic into a single file executable?
well I meant more that I thought maybe the bun builder would do it automatically so that when the serveStatic route tries to read a file, it loads it from the bundled ones instead of the actual filesystem
118 replies