gulp-babel-globals
v2.0.0
Published
Gulp plugin for babel-globals.
Downloads
291
Readme
gulp-babel-globals
Gulp plugin for babel-globals.
##Usage
var gulp = require('gulp');
var babelGlobals = require('gulp-babel-globals');
gulp.task('rename', function() {
gulp.src('src/*.js')
.pipe(babelGlobals({bundleFileName: 'myBundle.js'}))
.pipe(gulp.dest('build'));
});
API
options
The options that gulp-babel-globals receives are the same ones accepted by babel-globals.