To use the external w / dojo loader, you need to skip the dojo / dojo.js file, which the AMD loader defines. The require configuration should have something like:
require({ packages: [ { name: 'dojo', location: 'dojo', main:'dojo/main' } ] });
However, the dojo loader is as good at loading jQuery plugins as requireJS, and it comes with several additional plugins like dojo/has . I would have thought just using its bootloader.
fncomp
source share