Repository navigation
fix(docs): Remove the misnamed .browserlistrc (backport #26544) - #26548
Merged
agneszitte merged 1 commit intoNov 16, 2026
Merged
Conversation
browserslist 4.29.6 throws when it finds `.browserlistrc` instead of `.browserslistrc`, which fails the docs build on every branch. The file was never read, as it is misnamed: removing it keeps the generated CSS identical. Fixes #26543 Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit b6c416b)
1 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue: closes #26543
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
BrowserslistError: `.browserlistrc` instead of `.browserslistrc` in C:\a\1\s\docdoc/.browserlistrcis removed and the docs CSS builds again, unchanged.What introduced it
doc/.browserlistrchas been misnamed since 2021 (2b02df1). browserslist never read it and used its defaults.checkConfigTypo) that throws when it finds that misspelling. 4.29.5 doesn't have it.doc/package-lock.json("lockfileVersion@3… I'll try to do my best"). The lock pins browserslist 4.21.5, but npm takes the latest one allowed byautoprefixer ^10.3.2.Branches
release/stable/7.0servicing/6.8release/stable/6.7doc/.browserlistrcnpm installThe last docs build that passed before the release was #25688's (
servicing/6.8, 16:10 UTC).Why remove the file rather than rename it
The misnamed file was never read, so removing it keeps today's output: browserslist's defaults. Renaming it to
.browserslistrcwould apply its targets (> 5%,last 2 versions) for the first time and change the generated CSS.Local check (no regression)
npm run buildindoc/(gulp: clean, styles, scripts; docfx left out), with the packages installed like CI, without the lockfile:main.css26,265 bytes.main.css26,265 bytes, byte-identical to the one above..browserslistrc,browserslistfile orbrowserslistkey indoc/package.jsonor above it.Backports
Needed on
release/stable/7.0,servicing/6.8andrelease/stable/6.7, which have the same file and fail the same way.Follow-up
The docs job's Node 14 / npm 6 can't read the lockfile, so any dependency release can break the docs build again. Moving it to a current Node, or
npm ci, is a separate change.PR Checklist ✅
Screenshots Compare Test Runresults.CI only: no product or docs content change. This PR's own Uno.UI - docs check is the proof on the agents.
🤖 Generated with Claude Code
This is an automatic backport of pull request #26544 done by [Mergify](https://mergify.com).