forked from adamkittelson/apathy-drive-ex
/
brunch-config.js
57 lines (53 loc) · 1.18 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
exports.config = {
// See http://brunch.io/#documentation for docs.
files: {
javascripts: {
joinTo: {
'js/admin.js': /admin\/*/,
'js/app.js': /(app|deps\/phoenix)\/*/
},
order: {
before: [
'web/static/js/app/jquery-1.10.2.min.js'
]
}
},
stylesheets: {
joinTo: {
'css/admin.css': /admin\/*/,
'css/app.css': /app\/*/
},
order: {
before: [
'web/static/css/app/normalize.css',
'web/static/css/app/skeleton.css'
]
}
},
templates: {
joinTo: 'js/app.js'
}
},
// Phoenix paths configuration
paths: {
// Which directories to watch
watched: ["deps/phoenix/web/static",
"deps/phoenix_html/web/static",
//"deps/phoenix_live_reload/priv/static",
"web/static", "test/static"],
// Where to compile files to
public: "priv/static"
},
// modules: {
// autoRequire: {
// 'js/app.js': ['web/static/js/app']
// }
// },
// Configure your plugins
plugins: {
ES6to5: {
// Do not use ES6 compiler in vendor code
ignore: [/^(vendor)/]
}
}
};