<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why the amount of build files increased after installing ArcGIS JS in the Angular application in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-the-amount-of-build-files-increased-after/m-p/1135493#M76020</link>
    <description>&lt;P&gt;I'm a little confused - the comments above mention using &lt;A href="https://www.npmjs.com/package/arcgis-js-api" target="_blank" rel="nofollow noreferrer noopener"&gt;https://www.npmjs.com/package/arcgis-js-api&lt;/A&gt; but the sample is using &lt;A href="https://www.npmjs.com/package/@arcgis/core" target="_blank"&gt;https://www.npmjs.com/package/@arcgis/core&lt;/A&gt;? Also, what were you using previously that only had 19 files on-disk, that sounds like you might have been using esri-loader which is CDN-based. Can you share a github repo?&lt;/P&gt;&lt;P&gt;Check out our Angular 13 sample: &lt;A href="https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli&lt;/A&gt;. I'm seeing 208 files and 8.5MB on-disk. Note, not all of these files are being used on initial application load.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jan 2022 16:36:20 GMT</pubDate>
    <dc:creator>AndyGup</dc:creator>
    <dc:date>2022-01-20T16:36:20Z</dc:date>
    <item>
      <title>Why the amount of build files increased after installing ArcGIS JS in the Angular application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-the-amount-of-build-files-increased-after/m-p/1135353#M76012</link>
      <description>&lt;P&gt;I have installed the arcgis-js-api 4.x by using npm into my Angular application. After that when i'm going to deploy the changes in to my QA environment, it has more than&amp;nbsp;500 build files. Earlier it was only 19 build files.&lt;/P&gt;&lt;P&gt;Can anyone help me to reduce the files and tell me why this happened.&lt;/P&gt;&lt;P&gt;npm package -&amp;nbsp;&lt;A href="https://www.npmjs.com/package/arcgis-js-api" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.npmjs.com/package/arcgis-js-ap&lt;/A&gt;&lt;A href="https://www.calvindudegermany.com/" target="_self"&gt;i&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ts.file&lt;/P&gt;&lt;PRE&gt;import { Component, OnInit, ElementRef,Input,OnDestroy,ViewChild,} from '@angular/core';
import Map from "@arcgis/core/Map";
import config from '@arcgis/core/config';
import MapView from '@arcgis/core/views/MapView';
import FeatureLayer from '@arcgis/core/layers/FeatureLayer

    const map = new Map({
      basemap: 'topo-vector',
      layers: esriLayers
  });
  const view = new MapView({
      container,
      map: map,
    });

  this.view = view;&lt;/PRE&gt;&lt;P&gt;.html file&lt;/P&gt;&lt;PRE&gt;&amp;lt;!-- Map Div --&amp;gt;
&amp;lt;div #mapViewNode&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 14:06:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-the-amount-of-build-files-increased-after/m-p/1135353#M76012</guid>
      <dc:creator>ChFaiza</dc:creator>
      <dc:date>2022-01-31T14:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why the amount of build files increased after installing ArcGIS JS in the Angular application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-the-amount-of-build-files-increased-after/m-p/1135493#M76020</link>
      <description>&lt;P&gt;I'm a little confused - the comments above mention using &lt;A href="https://www.npmjs.com/package/arcgis-js-api" target="_blank" rel="nofollow noreferrer noopener"&gt;https://www.npmjs.com/package/arcgis-js-api&lt;/A&gt; but the sample is using &lt;A href="https://www.npmjs.com/package/@arcgis/core" target="_blank"&gt;https://www.npmjs.com/package/@arcgis/core&lt;/A&gt;? Also, what were you using previously that only had 19 files on-disk, that sounds like you might have been using esri-loader which is CDN-based. Can you share a github repo?&lt;/P&gt;&lt;P&gt;Check out our Angular 13 sample: &lt;A href="https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli&lt;/A&gt;. I'm seeing 208 files and 8.5MB on-disk. Note, not all of these files are being used on initial application load.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 16:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-the-amount-of-build-files-increased-after/m-p/1135493#M76020</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-01-20T16:36:20Z</dc:date>
    </item>
  </channel>
</rss>

