This document discusses integrating Browserify and CommonJS dependency management into Rails' asset pipeline Sprockets. It describes:
1) Limitations of Sprockets for managing JavaScript dependencies and the benefits of using Browserify and CommonJS.
2) How to integrate Browserify into Sprockets using a custom Tilt template that runs Browserify to bundle dependencies.
3) Enhancing the build pipeline to transpile ES6 code using a Browserify transform.