Transpilation of es6

Hello,

how do I transpile es6 to JavaScript 5 with babel and gulp?

Have you tried https://babeljs.io/repl ?

If it’s something you want to automate with Gulp you can use babel-cli

:smile:

I need the code of the transpilation. Can you please provide me that?

The previous user already pointed you to a link which you can use to convert ES6 syntax to ES5.

If you go to the setup page and click Gulp under the Build systems it will give the npm commands and show a gulp.task example.

Thank you for your input.