common/corpus-common-addon/ember-cli-build.js
changeset 127 5cd8c3065c38
child 537 d2e6ee099125
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/corpus-common-addon/ember-cli-build.js	Tue Feb 23 17:47:57 2016 +0100
@@ -0,0 +1,27 @@
+/*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();
+};