css-modules / webpack-demo

Working demo of CSS Modules, using Webpack's css-loader in module mode
https://css-modules.github.io/webpack-demo/
1.49k stars 180 forks source link

Question about using with sass loader #13

Closed anthony-dandrea closed 9 years ago

anthony-dandrea commented 9 years ago

Is there a clean way to use this in tandem with Sass-Loader? I would like to use my mixins and variables but still keep my classes namespaced locally.

patrikholcak commented 9 years ago

Shouldn’t be a problem. Just replace postcss-loader with your sass loader.

patrikholcak commented 9 years ago

Hey @anthony-dandrea did you have any problems with the sass-loader? Please close the issue if the problem is resolved :)

anthony-dandrea commented 9 years ago

Haven't actually been able to try it yet but I'll close it for now. If it doesn't work I'll let you know. Thank you.

anthony-dandrea commented 9 years ago

This worked great btw. Ty!

patrikholcak commented 9 years ago

Cool! Let me know if you need any more help