Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Deprecation notice - update repo for ArcGIS JS API ES modules (beta) at 4.18 #90

@andygup

Description

@andygup

We are excited to announce that at 4.18 (December 2020), the ArcGIS API for JavaScript will available as ES modules (beta) for use with local builds via npm @arcgis/core. More info can be found in this early announcement blog post.

The draft plan is to reorganize this repo and consolidate everything back into the main branch. This will involve breaking changes to the current organization that contains multiple branches.

  • Main branch
    • README
      • As of 4.18 there are two approaches:
        • npm install (ESM build) - This will be the recommended approach and the modules will be bundled with the build. npm install @arcgis/core will be superseding the need to use arcgis-webpack-plugin and the additional configuration that comes with it. For a working sample, link to the new ES module samples on the jsapi-resource repo.
        • Lazy loading modules at runtime via esri-loader - these modules are lazy-loaded at runtime from a CDN using a loadModules() pattern and are not bundled with the build.
      • Brief explanation that the repo is only tested against the latest shipping version of Angular.
      • Delete the arcgis-webpack-plugin branch and just provide a link to the old commit if someone wants to see how to use it.
    • /esri-loader-sample - this will be the only working sample in the repo.

Metadata

Metadata

Assignees

Labels

DocumentationConsider adding to the docenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions