neumorphism-ui-bootstrap
neumorphism-ui-bootstrap copied to clipboard
Correct way to integrate Babel into Gulp script
I'm trying to integrate Babel into my Gulp Script and can't quite seem to get it figured out. Can someone please let me know the correct config for both development and build. This is what I have now 👍
gulp.task('scripts', function() {
return gulp.src(
[
'./node_modules/babel-polyfill/dist/polyfill.js',
'js/*.js'
])
.pipe(babel({
presets: ['@babel/preset-env']
}))
.pipe(gulp.dest('compiled'))
});
Hey @jmashore,
Sorry for the belated reply, my notifications were messed up.
I'm not very familiar with Babel, but have you figured it out by now? If not, I'll try to look into it provide an answer!