main
1/* global require, module */
2
3var EmberApp = require('ember-cli/lib/broccoli/ember-app');
4
5var app = new EmberApp({
6 dotEnv: {
7 clientAllowedKeys: ['ASSET_HOST']
8 }
9});
10
11// Use `app.import` to add additional libraries to the generated
12// output files.
13//
14// If you need to use different assets in different
15// environments, specify an object as the first parameter. That
16// object's keys should be the environment name and the values
17// should be the asset to use in that environment.
18//
19// If the library that you are including contains AMD or ES6
20// modules that you would like to import into your application
21// please specify an object with the list of modules as keys
22// along with the exports of each module as its value.
23
24// HACK to get ember-cli to work in production
25var index = app.legacyFilesToAppend.indexOf('bower_components/handlebars/handlebars.runtime.js');
26if(index) {
27 app.legacyFilesToAppend[index] = 'bower_components/handlebars/handlebars.js';
28}
29
30//app.import({
31 //development: 'bower_components/handlebars/handlebars.js',
32 //production: 'bower_components/handlebars/handlebars.runtime.js'
33//});
34
35app.import('bower_components/moment/moment.js');
36module.exports = app.toTree();