Skip to content
Discussion options

You must be logged in to vote

Great points, I completely agree with this approach. Separating the client and SSR builds makes total sense and will clean up the dependency graph issues.I will remove the assetFileNames override to bring back content hashing and enable build.manifest for the client. Then, I'll update the server to parse the manifest, collect the CSS for the entry point and its imports, and inject them into the HTML template. I'll leave Vite to handle style injection in development.I'll ping you once the updates are pushed!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vladosickzvezdaev-design
Comment options

Answer selected by vladosickzvezdaev-design
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants