forked from talonframework/talon_demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
brunch-config.js
69 lines (65 loc) · 1.86 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
58
59
60
61
62
63
64
65
66
67
68
69
exports.config = {
// See http://brunch.io/#documentation for docs.
files: {
javascripts: {
joinTo: {
"js/app.js": /^(web\/static\/js)|(node_modules)/,
'js/jquery-2.2.3.min.js': 'web/static/vendor/admin-lte/plugins/jQuery/jquery-2.2.3.min.js',
'js/bootstrap.min.js': 'web/static/vendor/admin-lte/bootstrap/js/bootstrap.min.js',
'js/jquery.dataTables.js': 'web/static/vendor/admin-lte/plugins/datatables/jquery.dataTables.js',
'js/dataTables.bootstrap.js': 'web/static/vendor/admin-lte/plugins/datatables/dataTables.bootstrap.js',
'js/app.min.js': 'web/static/vendor/admin-lte/dist/js/app.min.js'
},
order: {
}
},
stylesheets: {
joinTo: {
"css/app.css": [
"web/static/css/app.css",
"web/static/vendor/admin-lte/dist/css/skins/all-skins.css",
"web/static/vendor/admin-lte/bootstrap/css/bootstrap.min.css",
"web/static/vendor/admin-lte/plugins/datatables/dataTables.bootstrap.css",
"web/static/vendor/admin-lte/dist/css/AdminLTE.min.css"
],
// "css/all_themes.css": [
// "web/static/vendor/admin-lte/dist/css/skins/_all-skins.css"
// ]
}
},
templates: {
joinTo: "js/app.js"
}
},
conventions: {
assets: /^(web\/static\/assets)/
},
// Phoenix paths configuration
paths: {
// Dependencies and current project 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/]
}
},
modules: {
autoRequire: {
"js/app.js": ["web/static/js/app"]
}
},
npm: {
enabled: true,
whitelist: ['jquery'],
globals: {
}
}
};