Conversation
|
Wow. that's freaking awesome, thanks! Would you mind moving the postcss package to |
|
done! |
|
Thanks. I think I can make a release tomorrow |
|
I suspect this code might require refactoring to avoid issues using
I think the In https://github.com/ludofischer/postcss-strange-cases there's another reproduction where other plugins do not run correctly with PostCSS 8, if a plugin creates another |
|
I don't think it's possible for this plugin to ensure compatibility with all plugins out there - I assume most plugins will be using Either way, I think it's better to get a new version out so people can test it and then fix potential issues if there are any. |
|
@ludofischer good point, this stuff has definitely to be checked twice. I’m going to do this later this or next week. I wouldn’t like to release something that breaks existing code if it’s possible. |
|
I suspect any plugins that would normally run after postcss-modules don't get called properly, because postcss-modules runs on a different tree than the other plugins. I've had similar problems working on cssnano, so here's more detail about how I see the issue (but I haven't tested all the ideas below yet):
|
|
I agree the best refactor would be completely overhauling this plugin to avoid the "sub processor" thing which seems hacky in the first place. But I also think first getting a version out that is usable with Postcss 8 for those who don't have conflicting plugins now would be beneficial. Mostly, this module's release is blocking P.S switched to |
|
Merging, @yyx990803 thank you! I would like to make a total refactoring of the plugin to match the new PostCSS architecture and ditch out all the deps. Hope I will have some time in the future for this. |
No description provided.