style-resolve

A wrapper for the "resolve" module that targets CSS instead of JavaScript

style-resolve

A wrapper for the "resolve" module that targets CSS instead of JavaScript

The API is equivalent for both resolve.async and resolve.sync, with the following exceptions:

  • Node's core modules are excluded.
  • The "main" file for a module is specified with the "style" key instead, defaulting to index.css.
  • Currently accepts implicit usage of the .css extension by default – though pull requests are welcome to make additions.

MIT. See LICENSE.md for details.