forked from scotch/angular-brunch-seed
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.coffee
60 lines (54 loc) · 1.73 KB
/
config.coffee
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
exports.config =
# See docs at http://brunch.readthedocs.org/en/latest/config.html.
conventions:
ignored: ///^(
vendor.*\.less # exclude vendor less files, cause them must be css already
|.+node_modules.+ # exclude all entities from node_modules
|.+_.+\..+)$ # exclude all entities with '_' before file extension
///
modules:
definition: false
wrapper: false
paths:
public: '_public'
files:
javascripts:
joinTo:
'js/app.js': /^app/
'js/vendor.js': /^vendor/
'test/scenarios.js': /^test(\/|\\)e2e/
order:
before: [
'vendor/console-polyfill/index.js'
'vendor/jquery/jquery.js'
'vendor/angularjs-bower/angular.js'
'vendor/bootstrap/docs/assets/js/bootstrap.js'
]
stylesheets:
joinTo:
'css/app.css': /^(app|vendor)/
templates:
joinTo:
'js/dontUseMe' : /^app/ # dirty hack for Jade compiling.
plugins:
jade:
pretty: yes # Adds pretty-indentation whitespaces to output (false by default)
jade_angular:
modules_folder: 'partials'
locals: {}
bower:
extend:
"bootstrap" : 'vendor/bootstrap/docs/assets/js/bootstrap.js'
"angularjs-bower": [
'vendor/angularjs-bower/angular.js'
'vendor/angularjs-bower/angular-loader.js'
'vendor/angularjs-bower/angular-resource.js'
'vendor/angularjs-bower/angular-sanitize.js'
'vendor/angularjs-bower/angular-mocks.js'
]
"styles": []
asserts:
"img" : /bootstrap(\\|\/)img/
"font": /font-awesome(\\|\/)font/
# Enable or disable minifying of result js / css files.
# optimize: true