-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
For this project I'm using global css instead of local, but composes seems busted:
.Card {
composes: small from "./shadows.css";
}
yields the following error:
Error: composition is only allowed when selector is single :local class name not in ".Card", ".Card" is weird
I've done similar with the local-first behaviour and it seemed fine, but that's not the case with global apparently.
Not sure which module actually holds the composition stuff but these are the versions:
└─┬ postcss-modules@0.5.2
├─┬ css-modules-loader-core@1.0.1
│ ├── icss-replace-symbols@1.0.2
│ ├─┬ postcss@5.1.2
│ │ └── supports-color@3.1.2
│ ├── postcss-modules-extract-imports@1.0.0
│ ├─┬ postcss-modules-local-by-default@1.1.1
│ │ └─┬ css-selector-tokenizer@0.6.0
│ │ ├── cssesc@0.1.0
│ │ ├── fastparse@1.1.1
│ │ └─┬ regexpu-core@1.0.0
│ │ ├── regenerate@1.3.1
│ │ ├── regjsgen@0.2.0
│ │ └─┬ regjsparser@0.1.5
│ │ └── jsesc@0.5.0
│ ├── postcss-modules-scope@1.0.2
│ └── postcss-modules-values@1.2.2
Any tips would be great!
Metadata
Metadata
Assignees
Labels
No labels