Docs: tell PostCSS installers to copy .browserslistrc too - #60
Merged
Conversation
The install section lists what to copy (framework/, your own folder, an entry file) but never mentioned .browserslistrc, so a source install inherited whatever browserslist target the host project already had. With a broader target postcss-preset-env starts polyfilling light-dark() and flattening nesting, which is exactly what 1.3.0 removed. The Browser support section already says to keep the file; this points at it from the place where the copying actually happens. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
✅ Deploy Preview for mcssdev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.

What changed
One sentence added to Install with PostCSS in
src/content/docs/start.mdx:Plus the
[browserslistrc]link reference (alphabetical, betweenbemitandcomponents) and alastUpdatebump to 2026-07-31.Why
The install section enumerates what a source install copies:
src/styles/framework/, your own folder next to it, the entry file..browserslistrcwas not on that list, so an installer inherits whatever target the host project already has. That is the exact condition #56 was about: a broader target and postcss-preset-env starts polyfillinglight-dark()and flattening nesting again, undoing what 1.3.0 just fixed.The Browser support section (line 415) already says to keep the file, but only someone who reads that far finds out it exists. This links to it from the point where the copying happens.
Notes for review
dist/churn.lastUpdatewas still 2026-07-28 even though Raise the compile floor to Baseline 2024, stop polyfilling light-dark() #57 rewrote the Browser support section on the 31st, so this bump also catches that up. Drop it if you would rather the date tracked only this change.id="browser-support"exists in the output so the in-page anchor resolves.🤖 Generated with Claude Code