Anidetrix / rollup-plugin-styles

🎨 Universal Rollup plugin for styles: PostCSS, Sass, Less, Stylus and more.
https://anidetrix.github.io/rollup-plugin-styles
MIT License
242 stars 43 forks source link

CSS code-splitting is broken by Rollup's PR #4104 (Rollup v2.50.2) #176

Closed AurelienStebe closed 3 years ago

AurelienStebe commented 3 years ago

This is more of a "heads up" kind of ticket, see all details here : https://github.com/rollup/rollup/issues/4130

I don't know where the fix will be needed, but I suspect in Rollup. You might want to document it anyway.

While I'm here, thanks a lot for this project, it is quite the step forward from "rollup-plugin-postcss". 👍 A fresh release with CSSnano v5 and PostCSS v8 would be great, but you might want to wait and see what Rollup says about the regression above (hence the "heads up").

AurelienStebe commented 3 years ago

Rollup released a fix, so CSS code-splitting was broken between v2.50.2 and v2.51.2.

A new release with CSSnano v5 and PostCSS v8 would still be great, but I'll close this ticket.