Open
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the bug has not already been reported
Fastify version
5.0.0
Plugin version
1.0.0
Node.js version
22
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
24.04
Description
When running in production and using CACHE_DIR, outDir will be unset in the generated dist config, causing an undefined error here: https://github.com/fastify/fastify-vite/blob/dev/packages/fastify-vue/routing.js#L114-L115
However I'm not sure if it should be changed from build.outDir to fastify.clientOutDir (and remove the client/ prefix of the html path) or to make the dist config write the outDir value?
Link to code that reproduces the bug
No response
Expected Behavior
No response