1.0.0 • Published 8 years ago
gulp-wrappy v1.0.0
Gulp Wrapper plugin
Lightweight way to wrap your output with some other contents. ###Installation
npm install gulp-wrappy
###Simple Usage
var wrappy = require("gulp-wrappy");
/**
* Build JS
*/
gulp.task('js', function () {
gulp.src(['./src/**/*.js'])
.pipe(wrappy("function() {<%= contents %>};"))
.pipe(gulp.dest('./dist/'));
});
1.0.0
8 years ago