-
Notifications
You must be signed in to change notification settings - Fork 44
/
brunch-config.js
53 lines (50 loc) · 1.11 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
exports.config = {
// See http://brunch.io/#documentation for docs.
files: {
javascripts: {
joinTo: {
'js/app.js': /^web\/static\/(js\/app|vendor)/,
'js/admin.js': /^web\/static\/(js\/admin|vendor)/
},
order: {
before: [
'web/static/vendor/jquery-1.11.3.min.js'
]
}
},
stylesheets: {
joinTo: {
'css/app.css': /^(web\/static\/css\/app)/,
'css/admin.css': /^(web\/static\/css\/admin)/
},
order: {
before: [
'web/static/css/app/layout.scss',
'web/static/css/app/typo.scss'
]
}
},
templates: {
joinTo: 'js/app.js',
order: {
before: [
'web/static/vendor/jquery-1.11.3.min.js'
]
}
}
},
// Phoenix paths configuration
paths: {
// Which directories to watch
watched: ["web/static", "test/static"],
// Where to compile files to
public: "priv/static"
},
// Configure your plugins
plugins: {
babel: {
// Do not use ES6 compiler in vendor code
ignore: [/^(web\/static\/vendor)/]
}
}
};