github.com/blixtra/nomad@v0.7.2-0.20171221000451-da9a1d7bb050/ui/ember-cli-build.js (about)

     1  /* eslint-env node */
     2  const EmberApp = require('ember-cli/lib/broccoli/ember-app');
     3  
     4  const environment = EmberApp.env();
     5  const isProd = environment === 'production';
     6  
     7  module.exports = function(defaults) {
     8    var app = new EmberApp(defaults, {
     9      addons: {
    10        blacklist: isProd ? ['ember-freestyle'] : [],
    11      },
    12      svg: {
    13        paths: ['public/images/icons'],
    14      },
    15    });
    16  
    17    // Use `app.import` to add additional libraries to the generated
    18    // output files.
    19    //
    20    // If you need to use different assets in different
    21    // environments, specify an object as the first parameter. That
    22    // object's keys should be the environment name and the values
    23    // should be the asset to use in that environment.
    24    //
    25    // If the library that you are including contains AMD or ES6
    26    // modules that you would like to import into your application
    27    // please specify an object with the list of modules as keys
    28    // along with the exports of each module as its value.
    29  
    30    return app.toTree();
    31  };