-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathgulpfile.js
55 lines (53 loc) · 1.2 KB
/
gulpfile.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
const gulp = require('gulp');
const requireDir = require('require-dir');
const tasks = requireDir('./tasks');
exports.libs_style = tasks.libs_style;
exports.svg_css = tasks.svg_css;
exports.fonts = tasks.fonts;
exports.style = tasks.style;
exports.build_js = tasks.build_js;
exports.libs_js = tasks.libs_js;
exports.dev_js = tasks.dev_js;
exports.html = tasks.html;
exports.php = tasks.php;
exports.rastr = tasks.rastr;
exports.webp = tasks.webp;
exports.svg_sprite = tasks.svg_sprite;
exports.ttf = tasks.ttf;
exports.ttf2 = tasks.ttf2;
exports.bs_html = tasks.bs_html;
exports.bs_php = tasks.bs_php;
exports.watch = tasks.watch;
exports.deploy = tasks.deploy;
exports.default = gulp.parallel(
exports.libs_style,
exports.svg_css,
exports.ttf,
exports.ttf2,
exports.fonts,
exports.style,
exports.libs_js,
exports.dev_js,
exports.rastr,
exports.webp,
exports.svg_sprite,
exports.html,
exports.bs_html,
exports.watch
)
exports.dev_php = gulp.parallel(
exports.libs_style,
exports.svg_css,
exports.ttf,
exports.ttf2,
exports.fonts,
exports.style,
exports.libs_js,
exports.dev_js,
exports.rastr,
exports.webp,
exports.svg_sprite,
exports.php,
exports.bs_php,
exports.watch
)