Package Exports
- broccoli-brocfile-loader
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 (broccoli-brocfile-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
broccoli-brocfile-loader
The algorithm to find and load the Brocfile.js build specification file.
Installation
npm install broccoli-brocfile-loaderUsage
var loadBrocfile = require('broccoli-brocfile-loader');
var tree = loadBrocfile();Running this code will:
Find a file named
Brocfile.jsin the current folder or any of the parent folders. The search is case-independent and will throw an error if no matching file could be found.chdir()into the folder containing theBrocfile.js.Load the
Brocfile.jscode viarequire().
License
Broccoli was originally written by Jo Liss and is licensed under the MIT license.