common/corpus-common-addon/ember-cli-build.js
author ymh <ymh.work@gmail.com>
Tue, 20 Mar 2018 15:02:40 +0100
changeset 573 25f3d28f51b2
parent 543 aaaf9b0b09f6
permissions -rw-r--r--
Added tag 0.0.25 for changeset 190ae1dee68d

/* eslint-env node */
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');

module.exports = function(defaults) {
  let 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();
};