jwhitley/requirejs-rails — Issue #17: Support a one-file build
Author: jwhitley
Created: 2011-12-16 21:39:49+00:00
State: open

This issue is a prerequisite to #2. We should be able to inline require.js into the top-level module, ala:

```javascript
{
name: "require"
inline: "application"
out: "/path/to/output/application.js"
}
```

Right now the build setup assumes that require.js must be built independently, and we actually allow Sprockets to handle that.

Proposal:

If the user config specifies a module "require", then require.js should be inlined. Don't emit a separately built require.js file.