Coverage build serves app.css under another file's hash #464
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With IPX_COVERAGE=1, web/build.mts names the stylesheet /app.css?v= (buildPage passes minify: false) but writes app.css minified (buildStyle() defaults to minify). The service worker's check from #449 sees the mismatch and reloads the page, and its 30 s throttle then swallows the reload the #449 test waits for: that test fails under sh scripts/coverage.sh api every time and passes without it. Production builds are unaffected (both minified).
Fixed in
b22016c: buildStyle defaults to minifying only when the page does. The #449 test passes in coverage mode. Tooling only; nothing deployed.