-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathconfig.js
More file actions
40 lines (33 loc) · 986 Bytes
/
config.js
File metadata and controls
40 lines (33 loc) · 986 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
34
35
36
37
38
39
40
module.exports = {
// Browsersync port
PORT: 8080,
// Purgecss settings
PURGECSS: {
whitelist: ['w-100', 'vw-100'],
whitelistPatterns: [/order/gm, /text/gm],
whitelistPatternsChildren: []
},
// Gulp path references
PATHS: {
// Path to `dist` folder
dist: 'dist',
// Path to static assets & ignore some folders
assets: ['src/assets/**/*', '!src/assets/{img,js,css}/**'],
// Path to images & ignore some folders
images: [
'src/assets/**/*.{jpg,jpeg,png,gif,svg,webp}',
'!src/assets/fonts/**'
],
// Path to static files to copy to `dist`
staticFiles: [
'src/robots.txt',
'src/favicon.ico',
'src/.htaccess',
'src/site.webmanifest'
],
// Additional JS files to copy to "dist/assets/js"
additionalJsFiles2Copy: ['src/assets/js/js-copy/**/*.js'],
// Additional CSS files to copy to "dist/assets/css"
additionalCssFiles2Copy: ['src/assets/css/css-copy/**/*.css']
}
}