Skip to content

css className conflict #48

@chenxsan

Description

@chenxsan

Just set up a repo https://github.com/chenxsan/css-module-class-conflict to demo this problem, I had these css codes

.title {
  composes: small from './border.css';
  composes: small from './borderRadius.css';
}

in app.css, expected the exported class name to be border__small__xxxxx borderRadius__small__xxxxx, but i got this:

screen shot 2015-09-08 at 16 19 59

I got two borderRadius__small__xxxxx, the first small was overwritten by the second small.

Is this an expected behavior?

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