rollup-plugin-postcss icon indicating copy to clipboard operation
rollup-plugin-postcss copied to clipboard

Consistently export `stylesheet`

Open dougalg opened this issue 1 year ago • 3 comments

Add an export to expose the CSS stylesheet to the end user with the stylesheet name for all use cases.

This reduces code duplication, for cases where the CSS was previously exported twice, and also makes the interface simpler and more consistent for users with a variety of use cases who may need access to the stylesheet directly.

dougalg avatar Dec 16 '23 05:12 dougalg

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (118253e) 92.94% compared to head (d96e20d) 93.31%. Report is 2 commits behind head on master.

:exclamation: Current head d96e20d differs from pull request most recent head ab777c7. Consider uploading reports for the commit ab777c7 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #456      +/-   ##
==========================================
+ Coverage   92.94%   93.31%   +0.36%     
==========================================
  Files          10       10              
  Lines         326      329       +3     
  Branches      115      116       +1     
==========================================
+ Hits          303      307       +4     
+ Misses         22       21       -1     
  Partials        1        1              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Dec 16 '23 05:12 codecov[bot]

@egoist Is this something you can help take a look at?

dougalg avatar Dec 18 '23 02:12 dougalg