Fran Dios
Fran Dios
Forgot to comment earlier. Yeah this is a nice feature. For now, it can be done in user land by just replacing `script` tags in the returned HTML if the...
Thanks for the suggestions. >there could be vite-ssr preview that runs a local web server. While this is possible, a production server normally needs more logic than just running `vite-ssr`....
@kadiryazici Yeah, I'm adding `preview` to Vitedge, which wraps this package, so I will probably implement it here as well. While I'm at that, I will probably make that logic...
Hi! I haven't seen this error before. Can you provide a small repro? Does it also happen without SSR? (with `vite dev` instead of `vite-ssr dev`)
@MarvinRudolph `vite-ssr` is just calling `vite` internally after adding a plugin and a couple of environment variables, so it shouldn't be interfering with Vite's logic too much. A small repro...
@plashenkov The "unrestricted file system access" is a check added in a recent version of Vite, where you can't read any file outside of your root project. If your code...
@MarvinRudolph Thanks! As mentioned on Twitter DMs, we are going to use `uvu` instead of Jest. The other PR was already merged so we should adapt this PR to the...
@m3hari Thanks! @MarvinRudolph Do you want to transform this to use uvu? For example, if you want to test `utils/html.ts` then the spec can be located next to it, in...
You can safely ignore that warning for now. We will probably drop CJS support at some point (perhaps with Vite v3).
@MarvinRudolph We are still not following strict semver. Specifically, sometimes I changed minor things related to experimental features that can be breaking changes, and it's released as a minor version....