Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function jsPrecompile() {
return gulp.src(['src/**/*.js'])
.pipe(changed('lib', {hasChanged: changed.compareLastModifiedTime}))
.pipe(count('babel transplit ## files'))
.pipe(babel({sourceMap: argv.map ? 'inline' : false}))
.pipe(gulp.dest('lib'));
}