[✨] vite ssr mode: pre-load entry.ssr.tsx #131
wmertens
started this conversation in
Proposals For Qwik
Replies: 1 comment
-
We moved this issue to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem?
I would like to run server code inside the qwik-city server.
👉 Obviously I can put it in the server entry, but I also want to run in dev ssr mode.
👉 Obviously I can call the server entry point from
entry.ssr.tsx
which is called from both places, but then Vite will only execute that on first render.Describe the solution you'd like
Is it possible to load the entry code before vite calls it? That way, it also speeds up the first SSR render.
Describe alternatives you've considered
Maybe an option to define a server-code entry point?
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions