Created
June 9, 2014 12:38
-
-
Save simonjefford/e302ffdc3f96bd85a015 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global require, module */ | |
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); | |
var app = new EmberApp({ | |
name: require('./package.json').name, | |
wrapInEval: true, | |
minifyCSS: { | |
enabled: true, | |
options: {} | |
}, | |
getEnvJSON: require('./config/environment'), | |
trees: { | |
app: 'frontend', | |
styles: 'frontend/css' | |
} | |
}); | |
// Use this to add additional libraries to the generated output files. | |
app.import('vendor/spin/index.js'); | |
app.import('vendor/jquery-ui/ui/jquery-ui.js'); | |
app.import('vendor/ember-easyForm/index.js'); | |
app.import('vendor/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/collapse.js'); | |
app.import('vendor/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/modal.js'); | |
app.import({ | |
development: 'vendor/ember-data/ember-data.js', | |
production: 'vendor/ember-data/ember-data.prod.js' | |
}); | |
// 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('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