This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
forked from geerlingguy/drupal-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.gulp-config.yml
70 lines (50 loc) · 1.76 KB
/
example.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
---
# Example config file for the included gulpfile.js.
# Note that this gulp support is experimental, and that any given web project may have
# it's own gulp setup that should be used before using this setup.
# The gulp setup here and in `gulpfile.js` may not even work for some web projects.
# Browsersync options.
# See https://browsersync.io/docs/options
browserSync
# URL of backend dev server to be proxied by browser sync.
proxy: 'http://example.dev'
# Browsers to open when starting.
browser: 'default'
# Alias to use for drush ops, such as cache clearing.
drushAlias: '@example.dev'
# Theme directory. Relative to gulpfile.js.
themeDir: ./path/to/theme_dir
css:
# Name of CSS output file.
file: my_theme.style.scss
# Sass source glob. Relative to theme directory.
src:
- 'scss/**/*.scss'
# Sass CSS destination directory. Relative to theme directory.
dest: assets/css
# Sass output style. 'compressed' is recommended for production site.
outputStyle: 'compressed'
# Include paths for directories with extra SCSS files. Relative to gulpfile.js.
includePaths:
- ./path/to/bootstrap-sass/assets/stylesheets
- ./path/to/font-awesome/scss
js:
# Name of JS output file.
file: my_theme.script.js
# JS source glob. Relative to theme directory.
src:
- 'assets/js/**/*.js'
# JS destination directory. Relative to theme directory.
dest: assets/js
images:
# Images source glob. Relative to theme directory.
src:
- 'assets/images/**/*'
# Images destination directory. Relative to theme directory.
dest: assets/images/
fonts:
# Fonts source glob. Relative to theme directory.
src:
- './path/to/font-awesome/fonts/**.*'
# Fonts destination directory. Relative to theme directory.
dest: ./assets/fonts/