You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use [postcss-nesting:https://github.com/jonathantneal/postcss-nesting] plugni ( implementation of CSS Nesting Module Level 3 ) and css-loader v0.26.1.
or styles.Hello.title (it will be hacky implementation of getter by Reflect)
To keep css moduleness, I think it's enough to convert top-level selectors and easy for css animation.
How do you think? (or already has other way of this?)
The text was updated successfully, but these errors were encountered:
mizchi
changed the title
Request feature: Add option to compile only top-level selector in css-modules mode
Request feature: Add option to compile only top-level selectors in css-modules mode
Feb 18, 2017
@mizchi This isn't possible with css-loader in it's current state and I think this would need some work require @css-modules instead of css-loader and the plugins there 😛 . Also wouldn't work in that way atm
I use [postcss-nesting:https://github.com/jonathantneal/postcss-nesting] plugni ( implementation of CSS Nesting Module Level 3 ) and css-loader v0.26.1.
MyCode
Compiled with css-loader?modules
All selector are flattened so I have to write like this.
But I want to write like next one.
So my expected behaviour is
or
styles.Hello.title
(it will be hacky implementation of getter by Reflect)To keep css moduleness, I think it's enough to convert top-level selectors and easy for css animation.
How do you think? (or already has other way of this?)
The text was updated successfully, but these errors were encountered: