npm.io
1.0.0 • Published 10 years ago

gulp-wrappy

Licence
MIT
Version
1.0.0
Deps
6
Vulns
2
Weekly
0

Gulp Wrapper plugin

Lightweight way to wrap your output with some other contents. ###Installation   npm version

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/'));
});

Keywords