当前位置:网站首页>Introductory document 05-2 use return instructions the current task has been completed
Introductory document 05-2 use return instructions the current task has been completed
2022-08-05 06:09:00 【dongsdh】
const { src, dest, series, watch, parallel } = require("gulp");function clean(cb) {console.log('clean up dist');cb();}function js(){console.log('Process js, use return to indicate that the current task has been completed');return src('*.js')}function css(cb){console.log('processing css');cb();}function img(cb){console.log('processing img');cb();}function build(cb) {console.log('Packaging');cb();}exports.default = series(clean,js,css,img,build);
边栏推荐
猜你喜欢
随机推荐
入门文档06 向流(stream)中添加文件
Spark源码-任务提交流程之-6.2-sparkContext初始化-TaskScheduler任务调度器
CIPU,对云计算产业有什么影响
UiPath简介
云游戏未来展望
每日一题-删除链表的倒数第 N 个结点-0718
Unity中的GetEnumerator 方法及MoveNext、Reset方法
C语言入门笔记 —— 分支与循环
如何用UE5渲染一个可爱的茶壶屋?
入门文档11 自动添加版本号
D39_欧拉角与四元数
2020,Laya最新中高级面试灵魂32问,你都知道吗?
来来来,一文让你读懂Cocos Creator如何读写JSON文件
添加新硬盘为什么扫描不上?如何解决?
(C语言)动态内存管理
腾讯内部技术:《轩辕传奇》服务器架构演变
海外服务器的优势
C语言的一些小常识
【机器学习】1单变量线性回归
spark源码-任务提交流程之-7-流程梳理总结









