forked from ember-animation/liquid-fire
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBrocfile.js
33 lines (27 loc) · 982 Bytes
/
Brocfile.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
/* jshint node: true */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var mergeTrees = require('broccoli-merge-trees');
var pickFiles = require('broccoli-static-compiler');
var velocity = pickFiles('node_modules/velocity-animate', {
srcDir: '/',
destDir: 'velocity'
});
var appTree = mergeTrees(['app-addon', 'app'], { overwrite: true });
var templateTree = mergeTrees(['app-addon/templates', 'app/templates'], { overwrite: true });
var vendorTree = mergeTrees([velocity, 'vendor-addon', 'vendor']);
var app = new EmberApp({
trees: {
app: appTree,
vendor: vendorTree,
templates: templateTree
},
snippetSearchPaths: ['app', 'app-addon']
});
app.import("vendor/velocity/jquery.velocity.js");
app.import("vendor/moment/moment.js");
app.import("vendor/liquid-fire/liquid-fire.css");
var fonts = pickFiles('vendor/bootstrap-sass-official/assets/fonts', {
srcDir:'/',
destDir: 'assets'
});
module.exports = mergeTrees([app.toTree(), fonts]);