Open bene opened 6 days ago
Hi @bene
I think It's a Vite issue. I've investigated for a while, but I could not find a good solution. It may not support that library.
I ran into the same problem myself, but I put
import require from "node:require"
on the code which throw error (but not good idea)
What version of HonoX are you using?
0.1.23
What steps can reproduce the bug?
I want do create an upload route which uses the
@aws-sdk/client-s3
package. However when I use it as I do normally the error below gets thrown. I tried theminio
package which also didn't work. I guess it's a common issue with packages?bun create hono@latest
bun add @aws-sdk/client-s3
What is the expected behavior?
Be able to use S3 client without issues.
What do you see instead?
Additional information
No response