Skip to content

Add option for not doing :local by default. #22

@dzearing

Description

@dzearing

In order to ramp up a repo to use local scoped classes, it would be nice to do it incrementally.

Right now, the "local-by-default" plugin is hardcoded in postcss-modules index file, meaning without manually updating every css file to be :global, it's difficult to do this for large projects.

It would be very helpful to have an option to not include that plugin, so that projects could be incremental about module support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions