doczjs / docz-plugin-css

This package makes it possible to use preprocessors and css modules on docz
https://docz.site
38 stars 32 forks source link

Is there a way for docz to auto recognize file as either css module or normal css without adding `.module` to the file? #5

Open phamtm opened 6 years ago

phamtm commented 6 years ago

In my project I use both CSS module and normal CSS. I'm trying to integrate docz with it, but there's some hurdle. All my CSS file extensions are .scss, and webpack will autodetect which one is used as CSS module or not.

My question is, without changing CSS files extension, is there a way that docz can auto recognize the whether it is CSS module or not? I have looked at the cssmodules option but seems like it is a binary choice.

Thanks for the amazing tools!

CaitlinWeb commented 5 years ago

@pedronauck What's the status of the next release that includes #6 and #18? I would like to use CSS Modules for some components but not all.