Closed
Description
The documentation gives this example ( https://github.com/css-modules/css-modules#composing-from-global-class-names ):
.otherClassName {
composes: globalClassName from global;
}
...but the syntax supported by postcss-modules-scope
is in fact:
.otherClassName {
composes: global(globalClassName);
}
...as I discovered in the code:
postcss-modules-scope/src/index.js
Line 218 in fd4ffce
So, should this be documented somewhere?
Thanks for this piece of software though, keep up the good work! :)
Metadata
Metadata
Assignees
Labels
No labels