-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulp-config.js
54 lines (53 loc) · 1.06 KB
/
gulp-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
const {browserslist} = require('./package.json');
module.exports = {
autoprefixer: {
overrideBrowserslist: browserslist
},
sass: {
loadPaths: ['.'],
outputStyle: 'expanded',
silenceDeprecations: [
'abs-percent',
'bogus-combinators',
'call-string',
'color-module-compat',
'css-function-mixin',
'duplicate-var-flags',
'elseif',
'feature-exists',
'fs-importer-cwd',
'function-units',
'global-builtin',
'import',
'mixed-decls',
'moz-document',
'new-global',
'null-alpha',
'relative-canonical',
'slash-div',
'strict-unary'
// 'user-authored'
]
},
watchTasks: [
{
files: ['data/src/**/*', 'src/**/*'],
tasks: ['build']
}
],
webserver: {
host: 'localhost',
port: 8000,
path: '/',
livereload: false,
directoryListing: false,
open: '/demo/',
https: false,
browsers: {
default: 'firefox',
darwin: 'google chrome',
linux: 'google-chrome',
win32: 'chrome'
}
}
};