-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.js
More file actions
33 lines (32 loc) · 872 Bytes
/
config.js
File metadata and controls
33 lines (32 loc) · 872 Bytes
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
const expressDomain = 'http://localhost';
const expressPort = '3000';
const expressDomainAndPort = `${expressDomain}:${expressPort}`;
module.exports = {
browserSync: {
proxy: expressDomainAndPort
},
express: {
domain: expressDomain,
port: expressPort
},
html: {
outDir: './dist',
htmlMinifyOptions : {
includeAutoGeneratedTags: true,
removeAttributeQuotes: true,
removeComments: true,
removeRedundantAttributes: true,
removeScriptTypeAttributes: true,
removeStyleLinkTypeAttributes: true,
sortClassName: true,
useShortDoctype: true,
collapseWhitespace: true
}
},
css: {
outDir: './dist',
},
js : {
outDir: './dist/js/pages'
}
}