JSPM

  • Created
  • Published
  • Downloads 46654659
  • Score
    100M100P100Q230417F
  • License MIT

Offers a async require.resolve function. It's highly configurable.

Package Exports

  • enhanced-resolve
  • enhanced-resolve/lib/createThrottledFunction
  • enhanced-resolve/lib/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 (enhanced-resolve) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

enhanced-resolve

Offers a async require.resolve function. It's highly configurable.

Build Status

More documentation coming soon...

var resolve = require("enhanced-resolve");

resolve(string context, string identifier, object options, function callback(err, result))
resolve.sync(string context, string identifier, object options)
resolve.context(string context, string identifier, object options, function callback(err, result))
resolve.context.sync(string context, string identifier, object options)

It is used in webpack