Select to view content in your preferred language

Angular with ArcGIS Maps SDK for Javascript results in giant footprint

284
1
03-08-2023 04:36 AM
Robert_van_Gilst
New Contributor III

Hi,

I have created an Angular application where I use a small amount of ArcGIS Maps SDK for Javascript.

But when I build the application it looks like all of the ArcGIS Maps SDK for Javascript modules are bundled with my application.

This is what I use (for now).

Robert_van_Gilst_0-1678278863633.png

And here is a small part of the modules that are bundled with the application.

Robert_van_Gilst_1-1678278927551.png

I probably miss a setting somewhere, but I do not know where to look.

//Robert

0 Kudos
1 Reply
AndyGup
Esri Regular Contributor

Hi Robert, there is information on the build bundles here: https://github.com/Esri/jsapi-resources/tree/main/esm-samples#bundle-size-and-performance.