JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 44
  • Score
    100M100P100Q65030F
  • License MIT

Gulp plugin for babel-globals.

Package Exports

  • gulp-babel-globals

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-babel-globals) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.