jwhitley / requirejs-rails

RequireJS support for your Rails 3 or 4 application
MIT License
592 stars 202 forks source link

Almond build broken #255

Closed sun16 closed 8 years ago

sun16 commented 8 years ago

It appears that the almond build has been broken since 0.9.3 due to this commit (part of #164) for optimizing the whole dir instead of individual files: 9b89d79

Using the dir option instead of the out option broke the almond build, since r.js will now instead output to a file called almond.js, which won't be picked up and digestified by the digestify_and_compress rake task.

I created PR #254 that fixes this issue by using the old out configuration for almond builds. Let me know if there are any questions, and feel free to use the PR as you see fit. @carsomyr