This repository has been archived by the owner on Mar 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
ember-cli-build.js
67 lines (52 loc) · 1.72 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
/*jshint node:true*/
/* global require, module */
var sass = require('sass');
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
var app = new EmberApp(defaults, {
octicons: {
// load selected icons for popup-handler since it does not (yet) use components / templates
icons: ['arrow-right', 'arrow-both', 'code', 'list-ordered', 'clock', 'tools']
},
// Default implementation for ember-cli-sass
sassOptions: {
implementation: sass
},
svgJar: {
sourceDirs: [
'public', // default SVGJar lookup directory
'node_modules/octicons/build/svg'
]
},
'ember-cli-babel': {
includePolyfill: true
},
fingerprint: {
exclude: ['images']
},
nodeModulesToVendor: [
// add node_modules that you need in vendor modules
// See: https://www.npmjs.com/package/ember-cli-node-modules-to-vendor
'node_modules/three/build'
],
'ember-bootstrap': {
'bootstrapVersion': 4,
'importBootstrapFont': false,
'importBootstrapCSS': false
}
});
// export for threex.dynamictexture
app.import('vendor/three.min.js',{
prepend: true
});
app.import('vendor/layout/klay.js');
app.import('vendor/threex/threex.rendererstats.min.js');
app.import('vendor/threex/threex.dynamictexture.min.js');
app.import('vendor/alertifyjs/alertify.min.js');
app.import('vendor/alertifyjs/css/alertify.min.css');
app.import('vendor/alertifyjs/css/themes/default.min.css');
app.import('vendor/cytoscape/cytoscape.min.js');
app.import('vendor/eventsource-polyfill/eventsource.min.js');
app.import('node_modules/bootstrap/dist/js/bootstrap.min.js');
return app.toTree();
};