Hi,
I haven’t used it in a while but I actually think that you can use the requirejs shim option within the customScripts object (like most other requirejs options, as described in the docs).
it should look like:
var camTasklistConf = {
// …
customScripts: {
// names of angular modules defined in your custom script files.
// will be added to the 'cam.tasklist.custom' as dependencies
ngDeps: ['my.custom.module'],
// RequireJS modules to load.
deps: ['custom-ng-module'],
// RequreJS path definitions
paths: {
'custom-ng-module': '../custom-ng-module/script'
},
// and here you go...
shim: {
'backbone.layoutmanager': {
deps: ['backbone']
exports: 'Backbone.LayoutManager'
}
}
}
};
Cheers