common/corpus-common-addon/ember-cli-build.js
changeset 127 5cd8c3065c38
child 537 d2e6ee099125
equal deleted inserted replaced
126:e87a340711a4 127:5cd8c3065c38
       
     1 /*jshint node:true*/
       
     2 /* global require, module */
       
     3 var EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
       
     4 
       
     5 module.exports = function(defaults) {
       
     6   var app = new EmberAddon(defaults, {
       
     7     // Add options here
       
     8   });
       
     9 
       
    10   /*
       
    11     This build file specifies the options for the dummy test app of this
       
    12     addon, located in `/tests/dummy`
       
    13     This build file does *not* influence how the addon or the app using it
       
    14     behave. You most likely want to be modifying `./index.js` or app's build file
       
    15   */
       
    16   app.import({
       
    17       development: 'bower_components/store/store.js',
       
    18       production:  'bower_components/store/store.min.js'
       
    19   });
       
    20   app.import('vendor/shims/store.js', {
       
    21     exports: {
       
    22       'store': ['default']
       
    23     }
       
    24   });
       
    25 
       
    26   return app.toTree();
       
    27 };