Is there a postCSS plugin for the new @scope rule? #1415
-
I would imagine that the new @scope rule can theoretically be polyfilled in the same way CSS modules is doing it. The only aspect is that it needs the correct reference from the source. Does anything like this exist, or is it being worked on? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
see : #1358 I am not personally working on it because of a lack of community funding for such an undertaking :) |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply @romainmenke ! Good to know :) PS: I'll see if I can get work to show some support. |
Beta Was this translation helpful? Give feedback.
see : #1358
I am not personally working on it because of a lack of community funding for such an undertaking :)
The native scoping feature is very different from CSS modules in specific details and is much more complex to implement through static analysis. This is not an effort I want to do for free.