Skip to content

Instantly share code, notes, and snippets.

@danfinlay
Created June 25, 2014 19:58
Show Gist options
  • Select an option

  • Save danfinlay/2c89e09cb484a85704aa to your computer and use it in GitHub Desktop.

Select an option

Save danfinlay/2c89e09cb484a85704aa to your computer and use it in GitHub Desktop.
7 second Broccoli Build
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var app = new EmberApp({
name: require('./package.json').name,
es3Safe: false,
minifyCSS: {
enabled: true,
options: {}
},
getEnvJSON: require('./config/environment')
});
app.import({
development: 'vendor/ember-data/ember-data.js',
production: 'vendor/ember-data/ember-data.prod.js'
}, {
'ember-data': [
'default'
]
});
app.import('vendor/ic-ajax/dist/named-amd/main.js', {
'ic-ajax': [
'default',
'defineFixture',
'lookupFixture',
'raw',
'request',
]
});
app.import('vendor/pikaday/pikaday.js');
app.import('vendor/pikaday/css/pikaday.css');
module.exports = app.toTree();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment