引入相对应的文件 let gulp = require("gulp"); let inject = require("gulp-inject"); let cleanCss = require("gulp-clean-css"); let uglify = require("gulp-uglify"); let pump = require("pump"); let cache = require(&quo
pump = require('pump') pump简介 https://github.com/terinjokes/gulp-uglify/blob/master/docs/why-use-pump/README.md#why-use-pump 当使用来自Node.js的管道时,错误不会通过管道流向前传播,如果目标流关闭,源流也不会关闭.pump模块将这些问题规范化,并在回调中传递错误. pump可以使我们更容易找到代码出错位置. A common gulpfile example A co