patternfly / patternfly-elements

PatternFly Elements. A set of community-created web components based on PatternFly design.
https://patternflyelements.org/
MIT License
377 stars 92 forks source link

feat(tools): css import caching transformer #2689

Closed bennypowers closed 6 months ago

bennypowers commented 8 months ago

What I did

  1. check all source files before transforming their css imports:
    • WHEN we find an imported css file which has more than one importee,
    • THEN don't let those importees inline the css file contents, instead emit a .css.js module

Testing Instructions

  1. build
  2. check pf-button.js
  3. check pf-chip.js
changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: b45e12426c8e9f8e7a620534b9624838340f2399

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------- | ----- | | @patternfly/pfe-tools | Patch |

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

netlify[bot] commented 8 months ago

Deploy Preview for patternfly-elements ready!

Name Link
Latest commit 17b66ff5a38f49dd0541e3728a24430a43a8b1ad
Deploy Preview https://deploy-preview-2689--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.