I have never seen a working example of Vite + @resvg/resvg-wasm. https://github.com/thx/resvg-js This would be amazing, particularly for image generation APIs like Og/Image. https://www.npmjs.com/package/@vercel/og And the spin off versions of it. J