I\'ve just employed gulp-babel to my gulp file with the following
gulp-babel
var babel = require(\'gulp-babel\'); return gulp.src(files.concat.js.myModule)
Turns out the compact option is set to auto by default which removes "superfluous whitespace characters and line terminators [...] on input sizes >100KB".
compact
auto
If this is not what you want, you can set the compact option to false...
.pipe(babel({compact: false}))