Skip to content

Conversation

ekc
Copy link

@ekc ekc commented Aug 25, 2019

Hello Ryan,

Thank you for a very inspirational video tutorial on youtube.

I learn a lot from it. Unfortunately, the tutorial uses Gulp 3 and Babel 6.
So I played with it a little bit by migrating your project to Gulp 4 and used @babel/preset-env instead of babel-preset-es2015.
Regarding @babel/preset-env, I also added targets and debug option to help study which versions of browsers are included.

I really like you video. It would be great if you can upload a new one for Gulp 4 and Babel 7. :-)

Upon migrating from Gulp 3 to Gulp 4, we see the following error ...
AssertionError [ERR_ASSERTION]: Task function must be specified
According to
https://www.liquidlight.co.uk/blog/how-do-i-update-to-gulp-4/,
the second argument of gulp.task() has to be a task function which can
be generated by series() or parallel() function.

Additionally, we switch from package babel-preset-es2015 to
@babel/preset-env with target and debug options included as a showcase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant