Go to file
2016-06-03 21:05:08 +02:00
dist now using typings-global 2016-06-03 20:11:17 +02:00
test remove react from transform options 2016-06-03 21:05:04 +02:00
ts now using typings-global 2016-06-03 20:11:17 +02:00
.gitignore update deps 2016-02-26 17:57:53 +01:00
.gitlab-ci.yml now using typings-global 2016-06-03 20:11:17 +02:00
.npmignore cleanup 2016-02-09 17:06:26 +01:00
.travis.yml update travis.yml 2016-04-01 14:14:42 +00:00
LICENSE Initial commit 2015-10-24 16:32:34 +02:00
npmts.json now running coverage 2016-02-09 16:39:36 +01:00
package.json 2.1.9 2016-06-03 21:05:08 +02:00
README.md remove react from transform options 2016-06-03 21:05:04 +02:00

gulp-browser

browserify and other goodies for gulp

Status

build status Dependency Status bitHound Dependencies bitHound Code codecov.io

Usage

gulp-browser is meant to be easy:

Browserify:

    let gulp = require("gulp");
    let gulpBrowser = require("gulp-browser");
    
    let transforms = [
        {
            transform: "babelify",
            options: {presets: ["es2015"]}
        }
    ];
    
    gulp.task('gulpBrowserTest',function() {
        var stream = gulp.src('./test/*.js')
            .pipe(gulpBrowser.browserify(transforms)) // gulp.browserify() accepts an optional array of tansforms
            .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

Extending this module

If you have ideas for other great browser related gulp pipe stops, feel free to raise an issue on GitHub.

Contributors

About the maintainer:

Project Phase

PayPal