This repository was archived by the owner on Apr 24, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBrocfile.js
More file actions
66 lines (52 loc) · 2.95 KB
/
Brocfile.js
File metadata and controls
66 lines (52 loc) · 2.95 KB
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
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app'),
HtmlbarsCompiler = require('ember-cli-htmlbars'),
app = new EmberApp();
var templateTree = new HtmlbarsCompiler('app/templates', {
isHTMLBars: true,
templateCompiler: require('./bower_components/ember/ember-template-compiler')
});
// Use `app.import` to add additional libraries to the generated
// output files.
//
// If you need to use different assets in different
// environments, specify an object as the first parameter. That
// object's keys should be the environment name and the values
// should be the asset to use in that environment.
//
// If the library that you are including contains AMD or ES6
// modules that you would like to import into your application
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.
//
//
var app;
// brocfile-env module hasn't been decided on how to expose more build options
app = new EmberApp();
// app.import(app.bowerDirectory + '/moment/locale/en-gb.js');
app.import(app.bowerDirectory + '/bootstrap/dist/js/bootstrap.js');
app.import(app.bowerDirectory + '/bootstrap/dist/css/bootstrap.css');
app.import(app.bowerDirectory + '/bootstrap/dist/fonts/glyphicons-halflings-regular.woff', { destDir: 'fonts' });
app.import(app.bowerDirectory + '/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf', { destDir: 'fonts' });
app.import(app.bowerDirectory + '/selectize/dist/js/standalone/selectize.js');
app.import(app.bowerDirectory + '/selectize/dist/css/selectize.css');
app.import(app.bowerDirectory + '/flat-ui/dist/css/flat-ui.css');
app.import(app.bowerDirectory + '/flat-ui/dist/fonts/glyphicons/flat-ui-icons-regular.woff', { destDir: 'fonts/glyphicons' });
app.import(app.bowerDirectory + '/flat-ui/dist/fonts/glyphicons/flat-ui-icons-regular.ttf', { destDir: 'fonts/glyphicons' });
app.import(app.bowerDirectory + '/flat-ui/dist/fonts/lato/lato-regular.woff', { destDir: 'fonts/lato' });
app.import(app.bowerDirectory + '/flat-ui/dist/fonts/lato/lato-regular.ttf', { destDir: 'fonts/lato' });
app.import(app.bowerDirectory + '/flat-ui/dist/fonts/lato/lato-bold.woff', { destDir: 'fonts/lato' });
app.import(app.bowerDirectory + '/flat-ui/dist/fonts/lato/lato-bold.ttf', { destDir: 'fonts/lato' });
app.import(app.bowerDirectory + '/moment/min/moment-with-locales.js');
app.import(app.bowerDirectory + '/rangeslider.js/dist/rangeslider.min.js');
app.import(app.bowerDirectory + '/bootstrap-switch/dist/js/bootstrap-switch.min.js');
app.import(app.bowerDirectory + '/bootstrap-select/dist/css/bootstrap-select.min.css');
app.import(app.bowerDirectory + '/bootstrap-select/dist/js/bootstrap-select.js');
app.import(app.bowerDirectory + '/JavaScript-MD5/js/md5.js');
app.import(app.bowerDirectory + '/jquery-touchswipe/jquery.touchSwipe.min.js');
app.import(app.bowerDirectory + '/underscore/underscore-min.js', {
'underscore': [
'default'
]
});
module.exports = app.toTree();