-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathember-cli-build.js
70 lines (60 loc) · 2.78 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
var app = new EmberApp(defaults, {});
// bootstrap
app.import({
development: 'bower_components/bootstrap/dist/css/bootstrap.css',
production: 'bower_components/bootstrap/dist/css/bootstrap.min.css'
});
app.import({
development: 'bower_components/bootstrap/dist/js/bootstrap.js',
production: 'bower_components/bootstrap/dist/js/bootstrap.min.js'
});
app.import('bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot', {destDir: 'fonts'});
app.import('bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg', {destDir: 'fonts'});
app.import('bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf', {destDir: 'fonts'});
app.import('bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff', {destDir: 'fonts'});
app.import('bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2', {destDir: 'fonts'});
app.import('bower_components/bootstrap/dist/css/bootstrap.css.map', {destDir: 'assets'});
// bootstrap file input
app.import({
development: 'bower_components/bootstrap-fileinput/css/fileinput.css',
production: 'bower_components/bootstrap-fileinput/css/fileinput.min.css'
});
app.import({
development: 'bower_components/bootstrap-fileinput/js/fileinput.js',
production: 'bower_components/bootstrap-fileinput/js/fileinput.min.js'
});
// bootstrap growl
app.import({
development: 'bower_components/bootstrap.growl/dist/bootstrap-growl.js',
production: 'bower_components/bootstrap.growl/dist/bootstrap-growl.min.js'
});
// font awesome
app.import({
development: 'bower_components/font-awesome/css/font-awesome.css',
production: 'bower_components/font-awesome/css/font-awesome.min.css'
});
app.import('bower_components/font-awesome/fonts/fontawesome-webfont.eot', {destDir: 'fonts'});
app.import('bower_components/font-awesome/fonts/fontawesome-webfont.svg', {destDir: 'fonts'});
app.import('bower_components/font-awesome/fonts/fontawesome-webfont.ttf', {destDir: 'fonts'});
app.import('bower_components/font-awesome/fonts/fontawesome-webfont.woff', {destDir: 'fonts'});
app.import('bower_components/font-awesome/fonts/fontawesome-webfont.woff2', {destDir: 'fonts'});
app.import('bower_components/font-awesome/fonts/FontAwesome.otf', {destDir: 'fonts'});
// lodash
app.import({
development: 'bower_components/lodash/lodash.js',
production: 'bower_components/lodash/lodash.min.js'
});
// moment
app.import({
development: 'bower_components/moment/moment.js',
production: 'bower_components/moment/min/moment.min.js'
});
// snap
app.import({
development: 'bower_components/snap.svg/dist/snap.svg.js',
production: 'bower_components/snap.svg/dist/snap.svg-min.js'
});
return app.toTree();
}