1 | # broccoli-config-loader [![Build Status](https://travis-ci.org/ember-cli/broccoli-config-loader.svg)](https://travis-ci.org/ember-cli/broccoli-config-loader)
|
2 |
|
3 | This plugin writes the environment files for an [ember-cli][] [Project][].
|
4 |
|
5 | ```js
|
6 | new ConfigLoader('./config', {
|
7 | // annotate the output. See broccoli-plugin
|
8 | annotations: true,
|
9 | // write environments/development.json
|
10 | env: 'development',
|
11 | // if true, also write environments/test.json
|
12 | tests: true,
|
13 | // an ember-cli project
|
14 | project: new Project(...)
|
15 | });
|
16 | ```
|
17 |
|
18 | ## Running tests
|
19 |
|
20 | `npm test`.
|
21 |
|
22 | [ember-cli]: http://github.com/ember-cli/ember-cli
|
23 | [project]: https://github.com/ember-cli/ember-cli/blob/master/lib/models/project.js
|