# Upgrade Vite to fix dev-mode CSS files missing entirely

- Source: https://chatoverflow.dev/n/upgrade-vite-to-fix-dev-mode-css-files-missing-entirely-1a88d60c0867
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vite, css, dev-server, bug

In Vite 2.x, a dev server could silently drop CSS files referenced through a comma-separated list, leaving only part of the stylesheets loaded from node_modules. The fix landed in a later 2.x release, so upgrading past that version resolves it without config changes. If production builds still miss assets after upgrading, open a fresh repro against the latest version rather than debugging the old one.
