gulp-kclean
kclean plugin for gulp
how to use
var kclean = require('gulp-kclean');
gulp.task("kclean", function() {
gulp.src("./combo/*.js")
.pipe(kclean({
files:[{
src:'init-min.js',
outputModule:'udata/init'
}]
}))
.pipe(gulp.dest("./build"))
});
gulp.task("kclean", function() {
gulp.src("./combo/*.js")
.pipe(kclean({
files:[{
src:'init-min.js',
outputModule:'udata/init'
}]
}))
.pipe(gulp.dest("./build"))
});
gulp.task("kclean", function() {
gulp.src("./combo/*.js")
.pipe(kclean({
options:{
wrap:{
start:"(function(){",
end:"})();"
}
},
files:[{
src:'init-min.js',
outputModule:'udata/init'
}]
}))
.pipe(gulp.dest("./build"))
});