You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI fails because Vite 8.4.0 does not create empty CSS files #370
Since 2026-11-27, CI fails in the package_js_npm and package_ts_npm_custom_name jobs without any change in this repository.
scripts/ci/verify-build.js generates a package, runs npm publish --dry-run and compares the file list with scripts/ci/utils/expectedFiles.js. The browser build no longer creates dist/browser/index.css:
Files missing from publish:
- dist/browser/index.css
Vite 8.4.0 (released on 2026-11-26) no longer writes empty CSS files: vitejs/vite#24059. The template stylesheet theme/styles/index.css contains only a comment. The browser build is minified, so its CSS is empty and Vite skips the file. The npm build is not minified, so dist/index.css keeps the comment and is still created.
Nothing in a generated package refers to dist/browser/index.css. A plugin with real styles still gets this file.
The pnpm jobs still pass only because pnpm does not install versions younger than one day by default (minimumReleaseAge). From 2026-11-27 11:00 UTC they get Vite 8.4.0 and fail the same way.
Fix
Remove dist/browser/index.css from the expected files in scripts/ci/utils/expectedFiles.js.
Activity