Gulp: add es6 example to gulp 4.0 readme

Created on 2 Mar 2016  路  8Comments  路  Source: gulpjs/gulp

Need a really clean, minimalist gulpfile on the readme using es6. The README should feature the ES6 example first, then have the ES5 example second (want to make it clear we support everything).

Help wanted, good first time contribution!

documentation help wanted

Most helpful comment

I can take care of it

All 8 comments

I assume you want this in the root README and not docs/README.md?

I can take care of it

Also, if you want to create a better example than what's currently in the README - go right ahead 馃尨

One question @contra, is it necessary to install Babel as a devDependency to make ES2015 modules work? I don't remember exactly that.

@jeremenichelli Depends how much of ES6 you use - node supports a lot of it without any flags now, some stuff still needs babel installed however. README should ideally show stuff that can be used w/o babel

It would be good to add that as a note below the es6 example.

Merged @jeremenichelli's PR and did some cleanup and tested as actual gulpfiles. Everything is working now in the 4.0 branch's readme

Just if people are looking, the PR from @jeremenichelli is #1550

Was this page helpful?
0 / 5 - 0 ratings