JSPM

style-resolve

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 266
  • Score
    100M100P100Q84861F
  • License MIT

Package Exports

  • style-resolve

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (style-resolve) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.