Skip to content

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

Description

@phamtm

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions