gulp-wrappy

1.0.0 • Public • Published

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

/gulp-wrappy/

    Package Sidebar

    Install

    npm i gulp-wrappy

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • alexei.white