Closed mayank99 closed 8 months ago
Can you reproduce outside of stackblitz?
Edit: You don't have preact-render-to-string
installed, that's the issue. See https://github.com/preactjs/preset-vite/issues/101
The errors unfortunately suck, and it seems like this is something Vite needs to correct, but we're certainly open to ideas if you got 'em.
You don't have
preact-render-to-string
installed, that's the issue. See #101
Yup, that was it! 🤦 Thanks for the quick response.
Sorry for the headache!
Trying out the prerender plugin with version 2.8.1, I cannot get the build to pass.
See repro: https://stackblitz.com/edit/vitejs-vite-ybgooe?file=src%2Fmain.jsx,vite.config.js&terminal=build