Closed pboling closed 11 years ago
The readme also says in step 6:
requirejs-rails defaults to a single-file build of application.js.
That was not the case for me. I only was able to get the single file build after switching to the almond.
I have now tested it with the entire pre-compile section commented out, and it is working. I did need to switch back to application.js as my "main" otherwise it built an application.js in addition to the main.js.
from the readme:
Using precompile, and almond as my requirejs builder, was the ONLY way I was able to get it working. What is the alternative? This is what mine works like: