forked from tomdale/pdxb.us
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Brocfile.js
49 lines (41 loc) · 1.08 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var compileCompass = require('broccoli-compass');
var app = new EmberApp({
name: require('./package.json').name,
legacyFilesToAppend: [
'jquery.js',
'handlebars.js',
'moment.js',
'ember.js',
'ic-ajax/dist/named-amd/main.js',
'ember-data.js',
'app-shims.js',
'ember-resolver.js',
'ember-load-initializers.js'
],
// AKA whitelisted modules
ignoredModules: [
'ember',
'ember/resolver',
'ember/load-initializers',
'ic-ajax'
],
// hack we can hopefully remove as the addon system improves
importWhitelist: {
'ember': ['default'],
'ember/resolver': ['default'],
'ember/load-initializers': ['default']
},
// hack
getEnvJSON: require('./config/environment')
});
app.styles = function() {
return compileCompass(this.appAndDependencies(), this.name + '/styles/app.scss', {
outputStyle: 'expanded',
sassDir: this.name + '/styles',
imagesDir: 'public/images',
cssDir: '/assets'
});
};
module.exports = app.toTree();