Workers, react-router 7, vite, and wasm
I've been working on a blog that uses wasm for og:image generation and mdx for posts, all powered by workers. Been a lot of fun to noodle on, but I've found a strange bug that I'm trying to understand. If I try and prerender here, I get a wasm file error.
And the error:
It's almost like it's trying to prerender too aggressively, and sweeping up the
wasm
files in the process. I'd love to be able to do this, so curious if anyone has come across this before.
The reproducable code is here:
https://github.com/superhighfives/code/tree/toward-parityGitHub
GitHub - superhighfives/code at toward-parity
Contribute to superhighfives/code development by creating an account on GitHub.
0 Replies