1.1.0 • Published 6 years ago

stylecow-plugin-npm-loader v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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