-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
128 lines (93 loc) · 2.07 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/*
* Gulp Builder (Config)
* @version: 4.0.0 (01 June, 2021)
* @author: HtmlStream
* @license: Htmlstream (https://htmlstream.com/licenses)
* Copyright 2021 Htmlstream
*/
// You may find more detailed documentation at documentation/gulp.html
module.exports = {
//
// Start path when launching a Gulp
//
startPath: "/index.html",
//
// Variables that can be used in HTML pages and SVG files
//
vars: {
themeFont: "https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap",
version: "?v=1.0",
style: {
color: '#377dff', // Primary Color
font: 'Inter' // Primary Font
}
},
//
// Skip CSS & JavaScript files from bundle files (e.g. vendor.min.css)
//
skipFilesFromBundle: {
dist: [
],
build: [
"assets/css/docs.css",
"assets/css/snippets.css",
"node_modules/bootstrap-icons/font/bootstrap-icons.css",
"node_modules/aos/dist/aos.css",
"node_modules/aos/dist/aos.js"
]
},
//
// Copy/Paste files and folders into different path
//
copyDependencies: {
dist: {
"*assets/js/theme-custom.js": ""
},
build: {
"node_modules/bootstrap-icons/font/*fonts/**": "assets",
"*assets/js/theme-custom.js": ""
}
},
//
// An option to set custom folder name for build process
//
buildFolder: "", // e.g. my-project
//
// Replace an asset paths in HTML to CDN
//
replacePathsToCDN: {},
//
// Change directory folder names
//
directoryNames: {
src: "./src",
dist: "./dist",
build: "./build"
},
//
// Change bundle file names
//
fileNames: {
dist: {
js: "theme.min.js",
css: "theme.min.css"
},
build: {
css: "theme.min.css",
js: "theme.min.js",
vendorCSS: "vendor.min.css",
vendorJS: "vendor.min.js",
}
},
//
// Files types that will be copied to the ./build/* folder
//
fileTypes: "jpg|png|svg|mp4|webm|ogv|json",
//
// Language Direction
//
languageDirection: {
isRTL: false, // true, false
lang: 'en' // e.g. en, ar
}
}