common/corpus-common-addon/ember-cli-build.js
author ymh <ymh.work@gmail.com>
Fri, 15 Sep 2017 14:38:59 +0200
changeset 547 3924c7b4ad8f
parent 543 aaaf9b0b09f6
permissions -rw-r--r--
integrate cms changes for bugs #0028097, #0027866, #0028004

/* 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();
};