Skip to content

Instantly share code, notes, and snippets.

@sjingo
sjingo / gulpfile.js
Last active April 19, 2018 11:46 — forked from micmania1/gulpfile.js
Basic react gulpfile with browserfy and babel
var gulp = require('gulp');
var source = require('vinyl-source-stream');
var buffer = require('vinyl-buffer');
var watch = require('gulp-watch');
var gutil = require('gulp-util');
var browserify = require('browserify');
var babel = require('gulp-babel');
var env = ['development','production'];
gulp.task('set-env', function() {