Package Exports
- require-component
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 (require-component) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
require-component
Require component and npm modules
Installation
$ component install camshaft/require-component
API
// Wrap require
require = require('require-component')(require);
// Works in component and npm environments
var each = require('each');
You can also specify the npm fallback:
var each = require('each', 'my-npm-each-implementation');
License
MIT