-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Cannot work with hono + Cloudflareworkers #604
Comments
I've been trying to do this too, and I'll also add that 7MB is a big yikes for cloudflare. |
Does it work? |
@zouhangwithsweet Hey! Yeah! Here's an example - https://github.com/elliotberry/shiki-with-just-nord-json-support. I used ESBuild to pull out just the parts I needed, and then used the bundle on workers. Let me know if you have any thoughts/questions |
@elliotberry Have you deployed your code on Cloudflare workers ? |
This is also impacting shellscape/jsx-email#82 |
CF does not support inline wasm, you need to import the |
Is there a demo project? |
I've just tried on a fresh worker locally and it doesn't work, and am unable to push since it doesn't run - important to note that it doesn't have anything to do with hono Uncaught TypeError: Cannot read properties of undefined (reading 'buffer')
at null.<anonymous>
(file:///home/ghost/Desktop/ooglaslda/node_modules/.pnpm/@shikijs+core@1.3.0/node_modules/@shikijs/core/dist/index.mjs:4657:47)
in u
[code: 10021]
|
Validations
Describe the bug
Reproduction
https://stackblitz.com/edit/stackblitz-starters-szxgur?file=src%2Findex.ts
Contributes
The text was updated successfully, but these errors were encountered: