stylecow-plugin-npm-loader

1.1.0 • Public • Published

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

/stylecow-plugin-npm-loader/

    Package Sidebar

    Install

    npm i stylecow-plugin-npm-loader

    Weekly Downloads

    2

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • oscarotero