jwhitley/requirejs-rails — Issue #1: Support precompilation via r.js
Author: jwhitley
Created: 2011-11-17 03:48:22+00:00
State: open

We want to support precompilation via RequireJS' [r.js](http://requirejs.org/docs/optimization.html).

My current thoughts are to add a rake task (possibly triggered by `rake assets:precompile`) to manage this.

It's an open question how (or even whether) we'll integrate with Sprockets. If Sprockets continues to handle CoffeeScript conversion, that would allow a convenient workaround for the unfortunate limitation on named modules in [cs.js](https://github.com/jrburke/require-cs/).