stylecow-plugin-import

5.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i stylecow-plugin-import

Weekly Downloads

86

Version

5.0.2

License

MIT

Last publish

Collaborators

  • oscarotero