Opened 7 years ago
Closed 7 years ago
#18067 closed defect (wontfix)
Proprietary Caching in AMD Implementation
Reported by: | chris2m | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | BuildSystem | Version: | 1.10.0-beta1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Currenty the dojo build system creates layer files that can only be loaded by the dojo loader. Specifically, dojo creates proprietary? {cache:...} maps. If the layer file is integrated in a third-party website that already uses requirejs, all files that have been built into the layer file will be re-requested. Interoperability with requirejs can be improved by inlining modules using define statements as suggested on http://stackoverflow.com/a/20843874
Note: See
TracTickets for help on using
tickets.
AMD does not define a format for built modules. if you want to build dojo code to work with requirejs, you would use r.js to build the source.