It would be great to be able to distinguish between local and global CSS
classes, with the :local and :global syntax from CSS modules. That's
possible with Webpack today; any CSS class marked :local will be hashed.
(Using style-loader + css-loader + postcss-loader)
tirsdag 6. juni 2017
Neat project, thanks for sharing Marek!
CSS Modules, of course, have additional features such as the ability to
include unique hashes in class names and IDs (so that you can have two CSS
modules with the same name, both containing identically-named classes, and
have them still not conflict
Interesting project!
We had this problem too but have decided we don't want to lock us to
webpack so much (even though we're currently using it). If you're
interested you can have a look at
http://package.elm-lang.org/packages/GlobalWebIndex/class-namespaces/latest.
Simply we're just