Displaying 1 to 1 from 1 results

sprockets-bumble_d - Facilitating incremental migration of a large Sprockets-powered javascript codebase to ES6 modules

  •    Ruby

Babel + UMD = BumbleD. Incrementally migrate your Sprockets-powered javascript to ES6 modules by transforming them to UMD modules that preserve your existing global references. ES6 modules are the future. The syntax is great: it's concise and straightforward, and the static and explicit nature of import and export statements make your code a complete spec of its dependencies and how to resolve them. This means that moving to ES6 modules also makes moving away from Sprockets //= require directives for javascript bundling (and Sprockets in general) much easier.