Steffan Donal
65c70eec98
Fix bug where passing an object with transform options causes an exception.
gulp-browser
browserify and other goodies for gulp
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:
Extending this module
If you have ideas for other great browser related gulp pipe stops, feel free to raise an issue on GitHub.
About the authors:
Description
Languages
TypeScript
97%
JavaScript
3%