Open buzzy opened 1 week ago
1.1.36+ededc168c
Linux 6.1.0-9-amd64 x86_64 x86_64
bun install sharp
const sharp = require('sharp'); const semiTransparentRedPng = await sharp({ create: { width: 48, height: 48, channels: 4, background: { r: 255, g: 0, b: 0, alpha: 0.5 } } }) .png() .toBuffer();
bun build --compile --minify --smol --sourcemap index.ts --outfile test
"test"
./test
cp test /tmp /tmp/test
That the resulting binary from "bun build" will include all necessary files, including potential binaries found in node_modules.
The resulting binary from "bun build" is trying to run external binaries in node_modules.
No response
Related :
https://github.com/oven-sh/bun/issues/8967#issuecomment-2501343823
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?
"test"
binary in the current directory that also has the node_modules directory. It will workWhat 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