gulp-babel
Advanced tools
Comparing version 6.0.0 to 6.1.0
@@ -37,4 +37,7 @@ 'use strict'; | ||
file.contents = new Buffer(res.code); | ||
file.path = replaceExt(file.path, '.js'); | ||
if (!res.ignored) { | ||
file.contents = new Buffer(res.code); | ||
file.path = replaceExt(file.path, '.js'); | ||
} | ||
file.babel = res.metadata; | ||
@@ -41,0 +44,0 @@ |
{ | ||
"name": "gulp-babel", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"description": "Use next generation JavaScript, today", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -24,3 +24,3 @@ # gulp-babel [![Build Status](https://travis-ci.org/babel/gulp-babel.svg?branch=master)](https://travis-ci.org/babel/gulp-babel) | ||
.pipe(babel({ | ||
presets: ['babel-preset-es2015'] | ||
presets: ['es2015'] | ||
})) | ||
@@ -55,3 +55,3 @@ .pipe(gulp.dest('dist')); | ||
.pipe(babel({ | ||
presets: ['babel-preset-es2015'] | ||
presets: ['es2015'] | ||
})) | ||
@@ -86,3 +86,3 @@ .pipe(concat('all.js')) | ||
.pipe(babel({ | ||
presets: ['babel-preset-es2015'] | ||
presets: ['es2015'] | ||
})) | ||
@@ -89,0 +89,0 @@ .pipe(logFileHelpers); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44
5986