Closed ajaishankar closed 9 months ago
Yep, that sounds like a reasonable thing to do. Can you open a PR with that change? I'll review and test then.
@galvez Have opened PR https://github.com/fastify/fastify-vite/pull/121
Was not sure about how to run the tests though...
Prerequisites
Issue
Vite has the option to generate assets for ssr builds.
https://main.vitejs.dev/config/build-options#build-ssremitassets
Currently @fastify/vite only serves client assets, could it be updated to also serve ssr build assets?
Something like: