Open ghost91- opened 1 year ago
any ETA? It breaks auto-builds and annoys to do force installs of libs due to this issue.
@Anidetrix are you even OK?
any progress?
I cannot update my directus because of this issue. Is there any workaround?
I would also like to stress the need to add support for rollup v3. Is this package being maintained by anyone? Need to know so I can make decisions. If there is anything that I can do to get this across? are there any limitations for supporting v3? Thank you.
Looks like @ironkinoko/rollup-plugin-styles is a fork of this repo with rollup v3 support.
https://www.npmjs.com/package/@ironkinoko/rollup-plugin-styles?activeTab=explore
"peerDependencies": {
"rollup": "^2.63.0 || 3.x"
},
Any response would be great! There is a PR ready (#225) but the Owner @Anidetrix does not seem active on GitHub. Maybe a maintainer like @felipecrs can have a look there and help all of us out! Would be really appreciated! 🙇
+1
Looks there was some movement recently on @Anidetrix account. Perhaps the guy is around after all ;-)?
+1
Why Because alternatives did not look good enough - they are either too basic, too buggy or poorly maintained.
Has anyone found a good alternative in the meantime? It seems like multiple rollup plugins for styles are not working for rollup v4, what are you all using?
I recently moved my solution to leverage "@dougalg/rollup-plugin-postcss"
import postcss from '@dougalg/rollup-plugin-postcss';
// in rollup config plugin section:
postcss({
extract: false,
modules: true,
use: ['sass'],
})
https://github.com/plumelo/rollup-plugin-styler is updated, at least for now.
Has anyone found a good alternative in the meantime? It seems like multiple rollup plugins for styles are not working for rollup v4, what are you all using?
In our company we decided to move away from post-css, and avoid third parties as much as posible
Thanks for your comments. To give an update on my side, we switched the plugin and now use https://github.com/egoist/rollup-plugin-postcss in combination with sass:
postcss({
use: [
['sass', {
includePaths: ['./styles', 'node_modules'],
implementation: sass,
}]
],
extract: 'styles.css',
}),
Although this plugin also hasn't been updated in a while, it works on our side and doesn't show any warniing / error messages regarding peer-dependencies.
This plugin currently is not compatible with rollup v3, because it requires rollup 2 as a peer dependency:
From what I have seen, this plugin mostly seems to work with rollup v3. Probably some more checks need to be done, but possibly, not much more than adjusting the declaration of the peer dependency to something like
would be needed.