In my gulpfile I have
var gulp = require(\'gulp\'); var browserSync = require(\'browser-sync\').create(); var sass = require(\'gulp-sass\'); var babel = requ
Simply switching to webpack instead of browserify fixed the issue for me.
var webpack = require('webpack-stream') gulp.task('default', function () { return gulp.src('src/source.js') .pipe(webpack({ output: { filename: 'app.js' } })) .pipe(gulp.dest('dist/app.js')) })