-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
During my deployment process, I build Vite assets locally and transfer them to the server afterwards, so I don’t need to have Node & all the assets pipeline installed on the server.
This process writes the files on disk at the expected build.outDir location, making kirby-vite think it’s in production mode afterwards. This behavior forces me to manually delete the dist folder and restart the server after every deployment to pick up new changes.
I appreciate the fact it works seamlessly out of the box, but I think it would be great to have a setting to be able to enforce one mode or the other for such cases. Would you be open to such feature?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels