[英]multiple gulp tasks with different js files
舉一個關於多個gulp任務的小例子。
請使用“ gulp”創建一個文件夾,然后在其中添加您的gulp任務。
gulp.js
var wrench = require('wrench');
wrench.readdirSyncRecursive('./gulp').filter(function(file) {
return (/\.(js)$/i).test(file);
}).map(function(file) {
require('./gulp/' + file);
});
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.