gulp-bandolerodeprecated

Gulp plugin for making single-file UMD bundles from ES6-style modules

Usage no npm install needed!

<script type="module">
  import gulpBandolero from 'https://cdn.skypack.dev/gulp-bandolero';
</script>

README

Gulp-bandolero.js

gulp-bandolero is deprecated after esperanto. Please consider using another module like gulp-rollup for bundling your modules

Another gulp plugin for resolving dependencies.

This one is just wrap around esperanto.

The idea is pretty simple: you write your modules using cool ECMAScript6 module syntax straight from the future, this little guy right there compiles it all to a single file module compatible with both CommonJS and AMD.

Like so:

var gulp   = require('gulp'),
    bundle = require('gulp-bandolero');

gulp.task('js:build', function () {
    gulp.src('src/index.js')
        .pipe(bundle({name: 'steve'}))
        .pipe(gulp.dest('dst/'));
});

That's typeof it :smirk: