-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bun.s3 not being able to be built using target: "node" #17185
Comments
I'm slightly confused. Are you trying to run your built code with node? |
Unfortuantly the serverless runtime we're using does not support Bun but using target:node we could compile to node (everything except for s3 works until now for us). This way we can keep our monorepo in bun which is way easier to manage than a nodejs monorepo :) |
If it will not be runned by Bun u should avoid any Bun specific api |
Yeah you can "fix" this error by making "bun" external, but you will still need to use the bun runtime as there isn't pollyfills. |
This doesn't seem like a bug. Unless @RiskyMH has any objections I think we can close this. |
What version of Bun is running?
1.2.2+c1708ea6a
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
The Bun s3 client cannot be build on any other target then "bun" (I am assuming no polyfill available as of today?)
What is the expected behavior?
Build succesfully like using target: "bun"
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: