gulp-browser/README.md
2016-02-26 17:59:16 +01:00

1.9 KiB

gulp-browser

browserify and other goodies for gulp

Build Status/Dependencies

Build Status Dependency Status bitHound Dependencies bitHound Code Coverage Status

Usage

gulp-browser is meant to be easy:

Browserify:

    var gulp = require("gulp");
    var gulpBrowser = require("gulp-browser");
    
    gulp.task('gulpBrowserTest',function() {
        var stream = gulp.src('./test/*.js')
            .pipe(gulpBrowser.browserify())
            .pipe(gulp.dest("./test/browserifiedJS/"));
        return stream;
    });

Note: Be aware of how gulp.src creates values of file.base and file.path since that is important to the require statements.

Dev Information:

devDependency Status bitHound Dev Dependencies

About the authors:

Project Phase

Gitter