-
Notifications
You must be signed in to change notification settings - Fork 0
/
brunch-config.js
executable file
·69 lines (69 loc) · 1.53 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
'use strict'
exports.config = {
paths: {
watched: ['src'],
public: 'public'
},
files: {
javascripts: {
joinTo: {
'js/app.min.js': /^src\/js/
},
order: {
before: [
'src/js/app.js',
'src/js/**/*.md.js',
'src/js/components/**/*.js'
]
}
},
stylesheets: {
joinTo: {
'css/app.min.css': /^src\/scss/
}
},
templates: {
joinTo: {
'js/templates.js': /^src\/js/
}
}
},
npm: {
enabled: false
},
conventions: {
assets: /static[\\/]/
},
modules: {
wrapper: false,
definition: false
},
plugins: {
copycat: {
"js": ['node_modules/angular/angular.min.js', 'node_modules/angular-ui-router/release/angular-ui-router.min.js'],
verbose: true,
onlyChanged: true
},
babel: {
ignore: [
/^(node_modules)/
]
},
/*jshint -W106 */
angular_templates: {
module: 'app.views',
path_transform: (path) => path.replace('src/', '')
}
/*jshint +W106 */
},
overrides: {
production: {
sourceMaps: false,
plugins: {
autoReload: {
enabled: false
}
}
}
}
}