chore(css-modules): 🤖 ship pre-compiled CSS alongside components#956
chore(css-modules): 🤖 ship pre-compiled CSS alongside components#956punkbit wants to merge 20 commits intochore/init-css-modules-setupfrom
Conversation
…per-component CSS
🦋 Changeset detectedLatest commit: 33c7dc4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…loop so each transform() call starts matching from the beginning of the string
… plugin won't get tracked by git
…e resolved file path instead of a counter. e.g. virtual:css-module:components/Button/Button.module.css instead of virtual:css-module:0.
|
Claude finished @punkbit's task in 1m 21s —— View job PR Review:
|
📚 Storybook Preview Deployed✅ Preview URL: https://click-mkxo79uqu-clickhouse.vercel.app Built from commit: |
Why?
To improve the developer experience for consumers of this library by eliminating the need for them to configure and run CSS Modules compilation in their build pipeline (e.g. dependency-library node_modules are generally ignored, which'd require consumer apps to whitelist them). By shipping pre-compiled CSS alongside components, it reduces builder/bundler configuration and speeds up compilation times in consuming applications.
How?
Tickets?
N/A
Contribution checklist?
buildcommand runs locallySecurity checklist?
dangerouslySetInnerHTMLPreview?
N/A