Skip to content

fix: Normalize CSS build environment#9860

Merged
LFDanLu merged 3 commits intomainfrom
fix-cra
Mar 31, 2026
Merged

fix: Normalize CSS build environment#9860
LFDanLu merged 3 commits intomainfrom
fix-cra

Conversation

@devongovett
Copy link
Copy Markdown
Member

@devongovett devongovett commented Mar 30, 2026

Need to normalize a few more properties, especially outputFormat, so the JS part of the css modules are built correctly.

Comment thread .parcelrc
"*.svg": ["@parcel/transformer-svg-react"],
"packages/@react-aria/example-theme/**/*.css": ["@parcel/transformer-css"],
"starters/docs/src/*.css": ["@parcel/transformer-css"],
"*.css": ["...", "parcel-transformer-css-env"],
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed anymore for old v3 docs, the default CSS transformer in parcel now handles this. I repurposed this plugin as above to handle the issue with the build.

@devongovett devongovett marked this pull request as ready for review March 30, 2026 23:47
@rspbot
Copy link
Copy Markdown

rspbot commented Mar 30, 2026

@LFDanLu LFDanLu added this pull request to the merge queue Mar 31, 2026
Merged via the queue into main with commit c5a3ae8 Mar 31, 2026
29 checks passed
@LFDanLu LFDanLu deleted the fix-cra branch March 31, 2026 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants