There was also discussion of an Esri JavaSCript Optimizer at the 2014 Dev Summit, but the website (http://jso.arcgis.com) currently is redirected to the JavaScript home page.
This is not possible.
To clarify, I'm looking for a way to produce a custom build that includes my app's dojo dependencies AND esri dependencies all bundled up in one or a few lean layer file(s).
No, you can still do builds.I haven not personally done it, but the two blog post links you originally posted are talking about doing dojo builds with our already built API.
We don't provide an un-minified version of the API. You can download the API if you'd like to host locally here: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/intro_accessapi.html Which takes you here: http://resources.arcgis.com/content/web/arcgis-javascript-api-download
You can include esri code in your layer. You need to download the source code from the esri customers site (i think). It's kind of hard to find but it's on arcgis.com somewhere.After that you need to do something like this, and then add the esri namespace to your deps. prefixes: [ [ "dijit", "../../dijit" ], [ "dojox", "../../dojox" ], [ "esri", "../../esri"], [ "app", "../../app" ], [ "dbp", "../../dbp" ] ] It's not easy, but it can be done!
prefixes: [ [ "dijit", "../../dijit" ], [ "dojox", "../../dojox" ], [ "esri", "../../esri"], [ "app", "../../app" ], [ "dbp", "../../dbp" ] ]
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.