https://github.com/bustle/broccoli-amd-loader
https://github.com/bustle/broccoli-amd-loader
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/bustle/broccoli-amd-loader
- Owner: bustle
- Created: 2015-07-08T00:17:18.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-03-07T19:23:26.000Z (over 9 years ago)
- Last Synced: 2025-10-19T11:51:40.652Z (9 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 2
- Watchers: 32
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## broccoli-amd-loader
Returns a tree that merges in an amd loader ([loader.js](https://github.com/ember-cli/loader.js) to the given tree at `/loader.js`).
Example:
```
var amdLoader = require('broccoli-amd-loader');
var tree = someTree();
tree = amdLoader(tree, {
destDir: '/tests'
});
// tree now has '/tests/loader.js' available
```