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
{{ message }}
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.
{loader: 'css-loader',options: {modules: truelocalIdentName: '[name]__[local]'// or something like that}}
and get it in every project with any additional effort needed, but it doesn't work properly with sass-loader. (maybe because of this: webpack-contrib/sass-loader#448 but I haven't investigated further)
so, we gotta find another way...if possible, as first iteration, let's find a way that requires zero/little backporting
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
stories
As a dev I'd like webpack to automagically prefix/suffix any CSS class with an identifier so to avoid style side effects once and for all
requirements
let's try CSS Modules!
why? because:
css-loader
by defaultex:
.my-component
=>MyComponent-hash-my-component
specs
... (see misc)
misc
it would be nice to simply replace:
with:
and get it in every project with any additional effort needed, but it doesn't work properly with
sass-loader
. (maybe because of this: webpack-contrib/sass-loader#448 but I haven't investigated further)so, we gotta find another way...if possible, as first iteration, let's find a way that requires zero/little backporting
The text was updated successfully, but these errors were encountered: