-
Notifications
You must be signed in to change notification settings - Fork 0
/
brunch-config.js
66 lines (65 loc) · 1.29 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
// Generated by CoffeeScript 2.4.1
var appConfig = require('./app/config');
var theme = appConfig.site.theme
exports.config = {
// http://brunch.io/docs/config
plugins: {
coffeelint: {
pattern: /^app\/.*\.coffee$/,
options: {
indentation: {
value: 2,
level: 'error'
},
max_line_length: {
value: 160
}
}
},
cleancss: {
keepSpecialComments: 0,
removeEmpty: true
},
sass: {
mode: 'native',
options: {
includePaths: [
'node_modules/bootstrap/scss/',
`app/styles/_themes/${theme}`
],
debug: 'debug',
sourceMapEmbed: true,
}
},
terser: {
mangle: false
},
copycat: {
icons: ['node_modules/bootstrap-icons/icons'],
verbose: true,
onlyChanged: true
},
cachebust: {
manifest: 'public/cachebust-manifest.json'
},
},
server: {
hostname: "0.0.0.0",
port: 3333
},
files: {
javascripts: {
joinTo: {
'javascripts/app.js': /^app/,
'javascripts/vendor.js': /^(?!app)/
}
},
stylesheets: {
joinTo: {
'stylesheets/app.css': /^app/,
'stylesheets/vendor.css': /^(?!app)/
}
}
},
sourceMaps: "absoluteUrl"
};