/
Global_Gulp.yaml.example
47 lines (40 loc) · 1.24 KB
/
Global_Gulp.yaml.example
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
# Example Gulp.yaml File for entire project, must be placed into 'PROJECT_ROOT/Configuration/Gulp.yaml'
#
# The following placeholder will be replaced by gulp
#
# PACKAGE_PATH ... The path to the packages, where the PACKAGE_NAME will be added automatically
# PACKAGE_NAME ... The name of the package, eg Vendor.Site
# PROJECT_ROOT ... The Neos root path, also know as FLOW_PATH_ROOT
Webandco:
Gulp:
config:
flowCommand: './flow'
packagePaths:
- 'PROJECT_ROOT/Themes/'
packages:
- 'PROJECT_ROOT/Packages/Application/Webco.Fusion'
paths:
dist:
styles: 'PACKAGE_PATH/Resources/Public/dist'
scripts: 'PACKAGE_PATH/Resources/Public/dist'
project:
styles:
bundled:
filename: 'webandco.min.css'
options:
sourceMaps: false
stripCssComments:
preserve: false
script:
bundled:
filename: 'webandco.min.js'
lint:
globalVars:
- 'webcoNeosIsLive'
- 'webcoNeosIsDevelopment'
- 'Bem'
options:
minify: true
polyfills: true
externalBabelHelpers: false
sourceMaps: true