perfectsense/brightspot-js-grunt — pull request #5 by trhoppe (2014-07-10 13:27:09+00:00)
Title: Adding second require js for optional inclusion via optimizer

If someone wants to compile require.js into their final scripts file so they can just include main.js vs require and data-main:main.js, they need to "include" requirejs via the optimizer. Require actually searches through strings for the word "require" so when you do "include:'require'" it breaks. I named the JS require-for-optimizer.js, so that you can "include:'require-for-optimizer'" which works.