Skip to content
Stylecow plugin to concatenate the imported css files with relative paths in the main css file.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

stylecow plugin import

Build Status

Stylecow plugin to include the @import css files with relative paths in the main css file.

You write:

@import "my-styles.css";

.foo {
    color: blue;
}

And stylecow converts to:

.imported-foo {
    font-size: 2em;
}
.other-imported-foo {
    background: blue;
}
.foo {
    color: blue;
}

More demos in the tests folder

You can’t perform that action at this time.