common/corpus-common-addon/ember-cli-build.js
author ymh <ymh.work@gmail.com>
Tue, 23 Feb 2016 17:47:57 +0100
changeset 127 5cd8c3065c38
child 537 d2e6ee099125
permissions -rw-r--r--
extract common functionalities to common module. First application to lexvo name resolving

/*jshint node:true*/
/* global require, module */
var EmberAddon = require('ember-cli/lib/broccoli/ember-addon');

module.exports = function(defaults) {
  var app = new EmberAddon(defaults, {
    // Add options here
  });

  /*
    This build file specifies the options for the dummy test app of this
    addon, located in `/tests/dummy`
    This build file does *not* influence how the addon or the app using it
    behave. You most likely want to be modifying `./index.js` or app's build file
  */
  app.import({
      development: 'bower_components/store/store.js',
      production:  'bower_components/store/store.min.js'
  });
  app.import('vendor/shims/store.js', {
    exports: {
      'store': ['default']
    }
  });

  return app.toTree();
};