docz-plugin-css icon indicating copy to clipboard operation
docz-plugin-css copied to clipboard

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

Open phamtm opened this issue 7 years ago • 1 comments

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!

phamtm avatar Oct 05 '18 09:10 phamtm

@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.

CaitlinWeb avatar May 01 '19 20:05 CaitlinWeb