Gulp
gulp 的基本使用
yarn global add gulp-cli
yarn add gulp -D执行任务
// 基础使用
const task1 = (cb) => {
setTimeout(() => {
console.log('任务一执行了');
}, 1000);
cb();
};
module.exports = {
task1,
};并行 / 串行
构建 css
构建 js
构建 html
部署服务
Last updated