Skip to content

Work with babel #112

Description

@fundon

Hi, currently I write ES6+ code and use Babel transform them.

Maybe we can include it and add an option for it.

Like this below:

# lib/gulpfile.js

"use strict";

require("babel/register");

var gulp    = require("gulp");
var path    = require("path");
var fs      = require("fs");
var helpers = require(path.resolve(__dirname, "helpers"));

require("gulp-help")(gulp, {
  aliases: ["h"],
  afterPrintCallback: helpers.gulp.printManuals
});

...

If you like this, I can submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions