Skip to content

Instantly share code, notes, and snippets.

@joefiorini
Created May 15, 2014 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joefiorini/825297aaf0cbf32fc70f to your computer and use it in GitHub Desktop.
Save joefiorini/825297aaf0cbf32fc70f to your computer and use it in GitHub Desktop.
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var app = new EmberApp({
name: require('./package.json').name,
legacyFilesToAppend: [
'jquery.js',
'handlebars.js',
'ember.js',
'ic-ajax/dist/named-amd/main.js',
'ember-data.js',
'app-shims.js',
'ember-resolver.js',
'ember-load-initializers.js'
],
// AKA whitelisted modules
ignoredModules: [
'ember',
'ember/resolver',
'ember/load-initializers',
'ic-ajax'
],
// hack we can hopefully remove as the addon system improves
importWhitelist: {
'ember': ['default'],
'ember/resolver': ['default'],
'ember/load-initializers': ['default']
},
// hack
getEnvJSON: require('./config/environment')
});
module.exports = app.toTree();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment