This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ember-cli-build.js
49 lines (44 loc) · 1.77 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
/*jshint node:true*/
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
var app = new EmberApp(defaults, {
rootURL: '/nsf-common-ember/',
outputPaths: {
app: {
html: 'index.html',
css: {
app: '/assets/css/nsf-ember-commons.css'
},
js: '/assets/js/nsf-ember-commons.js'
},
tests: {
js: '/assets/js/tests.js'
},
testSupport: {
css: '/assets/css/test-support.css',
js: {
testSupport: '/assets/js/test-support.js',
testLoader: '/assets/js/test-loader.js'
}
},
vendor: {
css: '/assets/css/vendor.css',
js: '/assets/js/vendor.js'
}
},
sassOptions: {
includePaths: [
'bower_components/bootstrap/scss',
'bower_components/font-awesome/scss'
]
}
});
app.import("bower_components/font-awesome/fonts/fontawesome-webfont.eot", {destDir: "assets/fonts"});
app.import("bower_components/font-awesome/fonts/fontawesome-webfont.svg", {destDir: "assets/fonts"});
app.import("bower_components/font-awesome/fonts/fontawesome-webfont.ttf", {destDir: "assets/fonts"});
app.import("bower_components/font-awesome/fonts/fontawesome-webfont.woff", {destDir: "assets/fonts"});
app.import("bower_components/font-awesome/fonts/fontawesome-webfont.woff2", {destDir: "assets/fonts"});
app.import("bower_components/font-awesome/fonts/FontAwesome.otf", {destDir: "assets/fonts"});
return app.toTree();
};