-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathember-cli-build.js
47 lines (36 loc) · 1.54 KB
/
ember-cli-build.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*jshint node:true*/
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
var app = new EmberApp(defaults, {
// Bootstrap with Sass
sassOptions: {
includePaths: [
'bower_components/bootstrap-sass/assets/stylesheets'
]
},
// npm install --save-dev ember-cli-inline-content
inlineContent: {
'favicons': {
file: './public/assets/images/favicons/favicons.txt'
}
},
// https://github.com/rickharrison/broccoli-asset-rev
fingerprint: {
exclude: ['images/portfolios'],
generateAssetMap: true
}
});
// Bootstrap: http://getbootstrap.com/ (bower install bootstrap --save)
// app.import('bower_components/bootstrap/dist/css/bootstrap.min.css');
// app.import('bower_components/bootstrap/dist/css/bootstrap.css.map', { destDir: 'assets' });
app.import('bower_components/bootstrap/dist/js/bootstrap.min.js');
// Velocity: https://github.com/julianshapiro/velocity (bower install velocity --save-dev)
app.import('bower_components/velocity/velocity.min.js');
app.import('bower_components/velocity/velocity.ui.min.js');
// Moment: https://github.com/moment/moment (bower install moment --save-dev)
app.import('bower_components/moment/min/moment.min.js');
// Bootbox: https://github.com/makeusabrew/bootbox
app.import('vendor/javascript/bootbox.min.js');
return app.toTree();
};