You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 6, 2023. It is now read-only.
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.
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.
npm install(ESM build) - This will be the recommended approach and the modules will be bundled with the build.npm install @arcgis/corewill be superseding the need to usearcgis-webpack-pluginand the additional configuration that comes with it. For a working sample, link to the new ES module samples on the jsapi-resource repo.esri-loader- these modules are lazy-loaded at runtime from a CDN using aloadModules()pattern and are not bundled with the build.