You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buzzy
changed the title
"bun build" does embed binaries from node_modules correctly
"bun build" does not embed binaries from node_modules correctly
Nov 23, 2024
What version of Bun is running?
1.1.36+ededc168c
What platform is your computer?
Linux 6.1.0-9-amd64 x86_64 x86_64
What steps can reproduce the bug?
bun build --compile --minify --smol --sourcemap index.ts --outfile test
"test"
binary in the current directory that also has the node_modules directory. It will workcp test /tmp /tmp/test
What is the expected behavior?
That the resulting binary from "bun build" will include all necessary files, including potential binaries found in node_modules.
What do you see instead?
The resulting binary from "bun build" is trying to run external binaries in node_modules.
Additional information
No response
The text was updated successfully, but these errors were encountered: