Show how you are adding it in your blade code along with your vite config
Vite CSS file not found in production - Cached Manifest?
I have just started using Vite on a recent project. I am building the CSS files locally and pushing them to git. Envoyer is just deploying all files and not building anything.
Everything works fine locally and my first production deployment worked also.
Subsequent production deployments through Envoyer are failing to find my CSS file, with a 404 error.
I checked the production deployed manifest file and CSS files and they all match up, however my app is looking for an old CSS file that was previously deployed.
I have tried all the cache:clear config:clear view:clear commands but nothing is working.
Production Manifest:
{
"resources/js/app.js": {
"file": "assets/app.ab93cf8a.js",
"src": "resources/js/app.js",
"isEntry": true
},
"resources/css/app.css": {
"file": "assets/app.1ec01807.css",
"src": "resources/css/app.css",
"isEntry": true
}
}
File being looked for by production app:
https://...URL.../build/assets/app.6f1520e8.css
Please or to participate in this conversation.