Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

sindresorhus/gulp-es6-transpiler

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gulp-es6-transpiler Build Status

Deprecated. Check out gulp-babel instead.


Transpile ES6 to ES5 with es6-transpiler

Issues with the output should be reported on the es6-transpiler issue tracker.

Install

$ npm install --save-dev gulp-es6-transpiler

Usage

var gulp = require('gulp');
var es6transpiler = require('gulp-es6-transpiler');

gulp.task('default', function () {
	return gulp.src('src/app.js')
		.pipe(es6transpiler())
		.pipe(gulp.dest('dist'));
});

API

es6transpiler(options)

Use the es6-transpiler options, except for filename, src, outputToConsole, outputFilename.

License

MIT © Sindre Sorhus