forked from hackfoldr/hackfoldr
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.ls
More file actions
58 lines (55 loc) · 1.33 KB
/
config.ls
File metadata and controls
58 lines (55 loc) · 1.33 KB
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
exports.config =
# See docs at http://brunch.readthedocs.org/en/latest/config.html.
modules:
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
"""
(function() {
#{data}
}).call(this);\n\n
"""
paths:
public: '_public'
files:
javascripts:
joinTo:
'js/app.js': /^app/
'js/vendor.js': /^vendor/
order:
before:
'vendor/scripts/console-helper.js'
'vendor/scripts/jquery-1.8.2.js'
'vendor/scripts/angular/angular.js'
'vendor/scripts/angular/angular-resource.js'
'vendor/scripts/angular/angular-cookies.js'
stylesheets:
joinTo:
'css/app.css': /^(app|vendor)/
templates:
joinTo:
# this name is required for jade_angular plugin to work
'js/dontUseMe': /^app/
# Enable or disable minifying of result js / css files.
# minify: true
plugins:
jade:
options:
pretty: yes
locals:
googleAnalytics: 'UA-39804485-1'
static_jade:
extension: '.static.jade'
path: [ /^app/ ]
jade_angular:
modules_folder: \partials
locals: {}