sprockets-bumble_d (2.2.0)

Richard Macklin
2019-09-09T15:14:27Z

Let Sprockets use Babel to transpile modern javascript

This gem provides a plugin for Sprockets to transpile modern javascript
using Babel.

Unlike other options in the sprockets ecosystem, it works with the latest
version of Babel and any plugins/presets you install.

A primary use case for this gem is to facilitate incremental migration of a
large Sprockets-powered javascript codebase to ES6 modules by transforming
them to UMD modules that preserve your existing global variable references
(hence the name: Babel + UMD = BumbleD). That said, this gem can be used for
general purpose babel transpilation within the Sprockets pipeline.