Is there a way to download a subset of ArcGIS for Javascript

486
4
08-29-2018 01:09 PM
GarettBreen1
New Contributor

Is there a way to download only the modules you need or do you have to download the whole thing? For example, when downloading JQueryUI you can create a custom build that only includes the needed functionality. Does that exist for ArcGIS for Javascript?

Tags (1)
4 Replies
RobertScheitlin__GISP
MVP Emeritus
GarettBreen1
New Contributor

Thanks. I should have said in the original question but I am using 4.8 so this won't work. Sounds like Noah's solution is the way to go unless there is the Web Optimizer for 4.x

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Garett,

   Nope if you are using 4.x then Noah's is the only way.

0 Kudos
Noah-Sager
Esri Regular Contributor

In addition to the Web Optimizer, I would also recommend npm and webpack if you are working with the 4.x version of the API, and bower if you are working with the 3.x version of the API.

Using npm for Custom Builds | ArcGIS API for JavaScript 4.8 

Using webpack for Custom Builds | ArcGIS API for JavaScript 4.8 

Using Bower for Custom Builds of the ArcGIS API for JavaScript | Guide | ArcGIS API for JavaScript 3... 

Hope this helps.

-Noah