Skip to content

Instantly share code, notes, and snippets.

@adriaandotcom
Created June 16, 2014 12:31
Show Gist options
  • Save adriaandotcom/6c189763aed415e4f301 to your computer and use it in GitHub Desktop.
Save adriaandotcom/6c189763aed415e4f301 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,
// for some large projects, you may want to uncomment this (for now)
es3Safe: false,
minifyCSS: {
enabled: true,
options: {}
},
getEnvJSON: require('./config/environment')
});
// Use `app.import` to add additional libraries to the generated
// output files.
//
// If you need to use different assets in different
// environments, specify an object as the first parameter. That
// object's keys should be the environment name and the values
// should be the asset to use in that environment.
//
// If the library that you are including contains AMD or ES6
// modules that you would like to import into your application
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.
app.import({
development: 'vendor/ember-data/ember-data.js',
production: 'vendor/ember-data/ember-data.prod.js'
}, {
'ember-data': [
'default'
]
});
app.import('vendor/ember-auth/dist/ember-auth.js');
app.import('vendor/ember-auth-module-ember-data/dist/ember-auth-module-ember-data.js');
app.import('vendor/ember-auth-module-rememberable/dist/ember-auth-module-rememberable.js');
app.import('vendor/ember-auth-request-jquery/dist/ember-auth-request-jquery.js');
app.import('vendor/ember-auth-response-json/dist/ember-auth-response-json.js');
app.import('vendor/ember-auth-strategy-token/dist/ember-auth-strategy-token.js');
app.import('vendor/ember-auth-session-cookie/dist/ember-auth-session-cookie.js');
app.import('vendor/ic-ajax/dist/named-amd/main.js', {
'ic-ajax': [
'default',
'defineFixture',
'lookupFixture',
'raw',
'request',
]
});
module.exports = app.toTree();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment