custom-react-scripts icon indicating copy to clipboard operation
custom-react-scripts copied to clipboard

css modules className with --

Open gabrielbs opened this issue 7 years ago • 0 comments

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?

gabrielbs avatar Aug 11 '18 00:08 gabrielbs