forked from g0v/g0v.tw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ls
42 lines (38 loc) · 837 Bytes
/
config.ls
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
exports.config =
# See docs at http://brunch.readthedocs.org/en/latest/config.html.
modules:
definition: false
wrapper: (path, data) ->
if [_, name]? = path.match /([^/\\]+)\.jsenv/
"""
(function() {
var module = {};
#{data};
if (!window.global)
window.global = {};
window.global['#name'] = module.exports;
}).call(this);\n\n
"""
else
"""
;\n
#{data}
;\n\n
"""
paths:
public: '_public'
files:
javascripts:
joinTo:
'js/app.js': /^app/
'js/vendor.js': /^vendor/
stylesheets:
joinTo:
'css/app.css': /^app\/styles\/\w+\.less/
conventions:
ignored: /^app\/styles\/_less/
plugins:
jaded:
staticPatterns: /^app\/(.+)\.jade$/
# Enable or disable minifying of result js / css files.
# minify: true