-
Notifications
You must be signed in to change notification settings - Fork 24
/
gulp-config.yml
77 lines (63 loc) · 2.32 KB
/
gulp-config.yml
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
70
71
72
73
74
75
76
77
################################################################################
# Browsersync
################################################################################
browserSync:
# Proxy mode will be used if a proxy target is set.
proxy:
# This is the value that usually needs to be changed for every project,
# unless development is done in Pattern Lab only.
target: ''
# Setting a different host in the request headers can be useful in some
# setups.
reqHeaders:
host: ''
# Server mode will be used if a proxy target is not set and a Pattern Lab
# public directory exists.
server:
baseDir: './public'
open: false
################################################################################
# Sass
################################################################################
sass:
# Sass options.
options:
includePaths:
- './source/sass'
- './node_modules/shila-css/sass'
- './node_modules/breakpoint-sass/stylesheets'
outputStyle: 'expanded'
# Global Sass files, compiled to the global CSS directory.
global:
srcFiles:
- './source/sass/**/*.scss'
destDir: './source/css'
# Sass files to watch for changes. These are also the Sass files that will be
# linted.
watchFiles:
- './source/sass/**/*.scss'
- './source/_patterns/**/*.scss'
################################################################################
# Pattern Lab
################################################################################
patternLab:
# Pattern Lab PHP directory.
# Gulp tasks will use either Pattern Lab PHP or Pattern Lab Node depending on
# whether this option is set or not.
#dir: './pattern-lab-php'
publicCssDir: './public/css'
# Changes to watched files will cause Pattern Lab to be regenerated.
# These files should not include Sass files, which are processed separately.
watchFiles:
- './source/_patterns/**/*.twig'
- './source/_patterns/**/*.js'
- './source/_patterns/**/*.json'
- './source/_patterns/**/*.yml'
- './source/_patterns/**/*.md'
################################################################################
# JavaScript files
################################################################################
js:
srcFiles:
- './source/_patterns/**/*.js'
destDir: './source/js'