A demonstration of using Gulp and Babel together for ES6 support in gulpfile.js.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
gulpfile.babel.js
jsconfig.json
package.json

README.md

gulp-babel-es6

A demonstration of using Gulp and Babel together for ES6 support in gulpfile.js.

##Project Setup

  1. Install Gulp globally: npm install -g gulp
  2. Navigate to the project directory and run: npm install to install the project's dependencies from NPM.
  3. Type gulp build to kick off the custom "build" task. After running this command, note the following line in the console's output: "Requiring external module babel/register". This is an indication that the Babel module is being loaded before attempting to read the Gulp configuration file.