I am upgrading an older web map from 4.17 to 4.25 and don't have the time to rebuild with ES modules. I'm looking for a way to call dojo/query and esri/rest/query by different names using AMD modules.
Uncaught TypeError: query.executeQueryJSON is not a function
This error popped up after upgrading to 4.25 where the dojo library is no longed included with the CDN package. Assuming this is the reason because 4.24 still works.