-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
60 lines (52 loc) · 1.12 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
56
57
58
59
60
const gulp = require('gulp');
const watch = require('./gulp/tasks/watch');
const server = require('./gulp/tasks/server');
const clean = require('./gulp/tasks/clean');
const templates = require('./gulp/tasks/templates');
const styles = require('./gulp/tasks/styles');
const scripts = require('./gulp/tasks/scripts');
const php = require('./gulp/tasks/php');
const images = require('./gulp/tasks/images');
const favicon = require('./gulp/tasks/favicon');
const svg = require('./gulp/tasks/svg');
const videos = require('./gulp/tasks/videos');
const fonts = require('./gulp/tasks/fonts');
const files = require('./gulp/tasks/files');
const revision = require('./gulp/tasks/revision');
const htmlManifest = require('./gulp/tasks/html-manifest');
const start = gulp.series(
gulp.parallel(
templates,
styles,
php,
images,
favicon,
svg,
videos,
fonts,
files
),
gulp.parallel(
watch,
server
)
);
exports.start = start;
const build = gulp.series(
clean,
gulp.parallel(
templates,
styles,
scripts,
php,
images,
favicon,
svg,
videos,
fonts,
files
),
revision,
htmlManifest
);
exports.build = build;