Support scoped CSS in the same file
Created by: gaearon
This is kinda vague but I'd like to have a built-in option to write CSS that:
- Exists in the same file as my components
- Is scoped
- Has auto generated class names, like CSS Modules
- Extracted via the same pipeline as CSS Modules
- Could potentially use Sass (since we already support it)
- Fully static
Basically I want "CSS Modules" but without the "Modules" part. Just put it in the same file if that's the only place I use it anyway.
https://github.com/4Catalyzer/astroturf looks related. cc @jquense @markdalgleish