-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrunch-config.js
43 lines (43 loc) · 945 Bytes
/
brunch-config.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
module.exports = {
// conventions: {
// vendor: "node_modules"
// },
modules: {
autoRequire: {
'js/app.js': [
// Auto-add 'require(...)' to bottom of app.js to immediately initialize.
'js/miso.js',
]
}
},
files: {
javascripts: {
joinTo: {
'js/app.js': [
// Include jquery first
/^node_modules\/jquery/,
// Include all JS from /app/node_modules/
/^node_modules/,
// Include all JS inside /app/javascript/
/^app\/js/
],
}
},
stylesheets: {
joinTo: {
'css/app.css': /(^app|^node_modules)/
}
}
},
npm: {
globals: {
// Expose module to global scope as 'window.$' variable
$: 'jquery',
jQuery: 'jquery',
Tether: 'tether'
},
styles: {
"font-awesome": ['css/font-awesome.css']
}
}
}