Go to file
2018-03-16 10:31:01 +01:00
dist update to latest Standards 2018-03-15 00:33:43 +01:00
test update to latest Standards 2018-03-15 00:33:43 +01:00
ts update to latest Standards 2018-03-15 00:33:43 +01:00
.gitignore update docs 2017-07-07 18:35:20 +02:00
.gitlab-ci.yml update to latest Standards 2018-03-15 00:33:43 +01:00
.npmignore cleanup 2016-02-09 17:06:26 +01:00
LICENSE Initial commit 2015-10-24 16:32:34 +02:00
npmextra.json fix typo 2018-03-15 01:21:13 +01:00
package.json update dependencies 2018-03-16 10:31:01 +01:00
README.md update to latest Standards 2018-03-15 00:33:43 +01:00
tslint.json added typings, removed beautylog 2016-12-13 23:01:25 +01:00
yarn.lock update dependencies 2018-03-16 10:31:01 +01:00

gulp-browser

browserify and other goodies for gulp

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code 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