Skip to content

Instantly share code, notes, and snippets.

Bennekrouf bennekrouf

Block or report user

Report or block bennekrouf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
bennekrouf /
Last active May 4, 2016
extensible rect
bennekrouf / javascript
Last active Sep 16, 2015
Gulp with babelify, browserify and browsersync
View javascript
var gulp = require('gulp');
var browserify = require('browserify');
var babelify = require('babelify');
var fs = require("fs");
var transform = require('vinyl-transform');
var browserSync = require('browser-sync');
gulp.task('serve', ['es6'], function() {
server: {
bennekrouf / gulpfile.js
Last active Sep 9, 2015 — forked from danharper/gulpfile.js
New ES6 project with Babel, Browserify & Gulp
View gulpfile.js
var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemaps');
var source = require('vinyl-source-stream');
var buffer = require('vinyl-buffer');
var browserify = require('browserify');
var watchify = require('watchify');
var babel = require('babelify');
function compile(watch) {
var bundler = watchify(browserify('./src/index.js', { debug: true }).transform(babel));
You can’t perform that action at this time.