-
Notifications
You must be signed in to change notification settings - Fork 0
/
ember-cli-build.js
32 lines (28 loc) · 1.05 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
'use strict';
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
module.exports = function (defaults) {
let app = new EmberAddon(defaults, {
sassOptions: {
includePaths: [
'node_modules/bootstrap-sass/assets/stylesheets',
'node_modules/bootstrap-sass/assets/stylesheets/bootstrap',
],
},
});
// bootstrap & bootstrap-sass from node_modules
app.import('node_modules/bootstrap/dist/js/bootstrap.js');
app.import('node_modules/bootstrap/fonts/glyphicons-halflings-regular.eot', {
destDir: 'fonts/bootstrap',
});
app.import('node_modules/bootstrap/fonts/glyphicons-halflings-regular.svg', {
destDir: 'fonts/bootstrap',
});
app.import('node_modules/bootstrap/fonts/glyphicons-halflings-regular.ttf', {
destDir: 'fonts/bootstrap',
});
app.import('node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff', {
destDir: 'fonts/bootstrap',
});
app.import('node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff2', { destDir: 'fonts/bootstrap' });
return app.toTree();
};