Skip to content

css modules className with -- #153

@gabrielbs

Description

@gabrielbs

Why CSS Modules are generating classNames with -- on the end?

example:

I'm using this pattern:
REACT_APP_CSS_MODULE_CLASSNAME_TEMPLATE = '[path]-[hash:base64:5]';

And the generated class always has a -- on the end, like this:

.box { }

generates

{ box: "_36lIp-box--" } (always with --)

Someone has any idea?

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