Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 818 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 818 Bytes

stylecow plugin npm-loader

Build Status

Stylecow plugin to resolve automatically the css paths of packages installed with npm. To do that, it search for the "style" property used in many packages.

You write:

@import "magnific-popup";

And stylecow resolves the path and converts to:

@import url("../node_modules/magnific-popup/dist/magnific-popup.css");

You can combine this plugin with import to insert the css code instead resolve only the url.

More demos in the tests folder