I have one problem. In my project i'm using runtime module injection. When i use require.js framework all works ok. But when i try to make solid js file with grunt-contrib-requirejs it doesn't find my injecting module.
piece of my code whre i'm injecting module
_.each(collection.models, function (model) {
require(['application/views/' + model.get("className")], function (view) {
view();
});
});