postcss-modules-extract-imports
Advanced tools
Weekly downloads
Readme
Transforms:
:local(.continueButton) {
composes: button from "library/button.css";
color: green;
}
into:
:import("library/button.css") {
button: __tmp_487387465fczSDGHSABb;
}
:local(.continueButton) {
composes: __tmp_487387465fczSDGHSABb;
color: green;
}
['composes']
alone.composes: className [... className] from "path/to/file.css";
failOnWrongOrder
bool
generates exception for unpredictable imports order..aa {
composes: b from "./b.css";
composes: c from "./c.css";
}
.bb {
/* "b.css" should be before "c.css" in this case */
composes: c from "./c.css";
composes: b from "./b.css";
}
npm install
npm test
ISC
Glen Maddern, 2015.
A CSS Modules transform to extract local aliases for inline imports
The npm package postcss-modules-extract-imports receives a total of 17,822,562 weekly downloads. As such, postcss-modules-extract-imports popularity was classified as popular.
We found that postcss-modules-extract-imports demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 5 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.