Skip to content

stackcss/style-resolve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

style-resolve stable

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

Usage

style-resolve

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, use "main" key if there's no "style" key and the "main" key points to css file, otherwise defaulting to index.css.
  • Currently accepts implicit usage of the .css extension by default – though pull requests are welcome to make additions.

License

MIT. See LICENSE.md for details.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published