Name: postcss-modules-extract-imports
Owner: css-modules
Description: A CSS Modules transform to extract local aliases for inline imports
Created: 2015-05-27 00:20:39.0
Updated: 2018-03-17 18:33:03.0
Pushed: 2018-05-20 17:25:24.0
Size: 114
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Transforms:
al(.continueButton) {
mposes: button from "library/button.css";
lor: green;
into:
ort("library/button.css") {
tton: __tmp_487387465fczSDGHSABb;
al(.continueButton) {
mposes: __tmp_487387465fczSDGHSABb;
lor: green;
['composes']
alone.oses: className [... className] from "path/to/file.css";
install
build
test
npm watch
will watch src
for changes and rebuildnpm autotest
will watch src
and test
for changes and retestISC
Glen Maddern, 2015.