If you want to use it for demo purposes in a CDN, you must include the ArcGIS Maps SDK for JavaScriPT like this: ...
ArcGIS Enterprise backend specialist. Esri MVP. I focus on well architected designs and builds. I focus on System Health, Security, Performance, Maintenance and Upgrades. Sole-trader. Not hiring.