An open API service indexing awesome lists of open source software.

https://github.com/bustle/broccoli-amd-loader


https://github.com/bustle/broccoli-amd-loader

Last synced: about 1 month ago
JSON representation

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
```