Anidetrix / rollup-plugin-styles

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

fix: Add support for rollup 3 #225

Open mathiasschopmans opened 1 year ago

mathiasschopmans commented 1 year ago

Fixes #224

hanorine commented 1 year ago

Would love to get this support merged in as soon as possible. Thanks.

mryechkin commented 1 year ago

@Anidetrix any chance of this getting looked at? My team has just recently updated to Rollup v3 and are looking to start using this plugin, but are blocked due to the v2 limitation.

Locally I can still install with -f flag, but that won't work for deployment pipelines.

Thank you

drzraf commented 1 year ago

Quoting https://github.com/Anidetrix/rollup-plugin-styles#why

Because alternatives did not look good enough - they are either too basic, too buggy or poorly maintained.

:|

mryechkin commented 1 year ago

FYI - I've moved on to using the @ironkinoko/rollup-plugin-styles package, which looks to be a v3 compatible fork.

hanorine commented 1 year ago

FYI - I've moved on to using the @ironkinoko/rollup-plugin-styles package, which looks to be a v3 compatible fork.

That worked for me. I hope his changes will be merged into here.

julianjelfs commented 10 months ago

Also - add support for rollup 4 😂 - please please

megheaiulian commented 10 months ago

I have created a fork at https://github.com/plumelo/rollup-styles rollup-styles that supports rollup v3 and v4.

RoryDuncan commented 10 months ago

I have created a fork at https://github.com/plumelo/rollup-styles rollup-styles that supports rollup v3 and v4.

For your potential future packages, @megheaiulian—rollup plugins are supposed to follow the naming convention "rollup-plugin-<package>". Bit late now—just letting you know the convention exists.

megheaiulian commented 10 months ago

@RoryDuncan I am aware of that convention but i couldn't find any good and meaningful unprefixed npm package name. If you have a good suggestion I'd welcome it. The package can be renamed while having previous names and versions still working ...

Renamed the fork to rollup-plugin-styler.