Open jmashore opened 3 years ago
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!
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 👍