当前位置:网站首页>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);
边栏推荐
猜你喜欢
随机推荐
Wireshark抓包及常用过滤方法
图片压缩失效问题
(C语言)动态内存管理
入门文档12 webserve + 热更新
腾讯云消息队列CMQ
framebuffer应用编程及文字显示(1)
洞察互联网大趋势,读完这篇文章你就彻底了解中文域名
添加新硬盘为什么扫描不上?如何解决?
错误类型:reflection.ReflectionException: Could not set property ‘xxx‘ of ‘class ‘xxx‘ with value ‘xxx‘
【Day8】磁盘及磁盘的分区有关知识
如何使用Houdini进行程序化优化?
spark源码-任务提交流程之-3-ApplicationMaster
ROS视频教程
(oj)原地移除数组中所有的元素val、删除排序数组中的重复项、合并两个有序数组
UE4美术你有必要了解的数学基础
入门文档01 series按顺序执行
Unity常用模块设计 : Unity游戏排行榜的制作与优化
spark源码-任务提交流程之-7-流程梳理总结
Lua,ILRuntime, HybridCLR(wolong)/huatuo热更对比分析
spark算子-wholeTextFiles算子









