Go to file
2019-02-13 00:24:14 +01:00
test fix(core): update to latest standards 2019-02-13 00:22:18 +01:00
ts fix(core): update to latest standards 2019-02-13 00:22:18 +01:00
.gitignore update docs 2017-07-07 18:35:20 +02:00
.gitlab-ci.yml fix(core): update 2019-02-13 00:24:14 +01:00
.npmignore cleanup 2016-02-09 17:06:26 +01:00
LICENSE fix(core): update 2019-02-13 00:24:14 +01:00
npmextra.json fix typo 2018-03-15 01:21:13 +01:00
package-lock.json 3.0.12 2019-02-13 00:22:19 +01:00
package.json fix(core): update 2019-02-13 00:24:14 +01:00
README.md fix(core): update 2019-02-13 00:24:14 +01:00
tslint.json fix(core): update 2019-02-13 00:24:14 +01:00

@pushrocks/gulp-browserify

browserify and other goodies for gulp

Status for master

build status coverage report npm downloads per month Known Vulnerabilities TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

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.

Contributors

For further information read the linked docs at the top of this readme.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer