I have been working on a Backbone/RequireJS app for sometime, and am now updating it to use Marionette. It breaks at first as Marionette AMD tries to search for jquery, backbone and underscore in root /
, however, I have these libraries in /lib
, I could modify the code. Whats the proper way of fixing this? (if possible not moving libraries out of /lib
).
What I did now is use the non AMD version which works. But sometimes, I get CollectionView
of undefined errors in some views, which makes me wonder if its related to using non-AMD build for RequireJS