Vite SSR with non nodejs backend #3710
Writtscher
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I have a question. I am migrating away from a webpack build to vite. For the client part everything works fine just the backend is a bit more complicated. We have a JVM Backend (design reason) and would like to prerender our frontend code. We have something like
Now webpack bundles it into one single file to use this script to prerender our frontend.
With vite I have not found anything to make this work. I would like to avoid having a hybrid where vite bundles/builds our frontend part and webpack to bundle/build the same code differently for the backend part.
I tried a lot of configuration options with the
--ssr
Flag but no luck.. Can someone point me in the right direction?Beta Was this translation helpful? Give feedback.
All reactions