/ live.thehmm.nl / back / node_modules / postcss-modules-extract-imports /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]src/2 years ago -  
[TXT]CHANGELOG.md39 years ago1.3K 
[   ]LICENSE39 years ago726  
[TXT]README.md39 years ago1.7Kd7c1522 post receive test [كارل مبارك]
[   ]package.json2 years ago2.4K 
README.md

CSS Modules: Extract Imports

Build Status

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;
}

Specification

composes: className [... className] from "path/to/file.css";

Options

.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";
}

Building

npm install
npm test

Build Status

License

ISC

With thanks


Glen Maddern, 2015.

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80