Kalana Tebel
Kalana Tebel

Reputation: 105

Why the amount of build files increased after installing ArcGIS JS in the Angular application

I have installed the @arcgis/core 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 500 build files. Earlier it was only 19 build files.

Can anyone help me to reduce the files and tell me why this happened.

npm package - https://www.npmjs.com/package/@arcgis/core

ts.file

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;

.html file

<!-- Map Div -->
<div #mapViewNode></div>

Upvotes: 1

Views: 447

Answers (0)

Related Questions