Hey all,
is there a way to use Experience Builder with the JSAPI ESM?
We have quite a lot of customers who use ExB in an "offline" (meaning DMZ) scenario. Usually we set up a self-hosted CDN and point the ExB to it, which is documented. But using ESM instead of CDN would actually be pretty great, as it could just be installed with the packages we need to install anyway for the Dev Edition, and we'd get rid of the CORS issues, server requirements and everything else about the installation of the self-hosted CDN JSAPI.
Has anyone tried? Is there anything on the timeline?
Thanks, Nik
@Jianxia
As ExB is a configurable app, so we don't know which modules will be used in the app so we don't have a plan to switch to ES modules.
Hi @Junshan_Liu,
thanks for your quick response. I understand that one central advantage of ESM is to only import what's needed (limiting the delivery package size) and that this advantage would not come to play with ExB, as you explained above.
However, the fact that we'd be able to deliver the whole app in one package and put it on one server (without having to deploy our own CDN version of JSAPI) would be another massive advantage. This is feedback from real customer scenarios we're currently dealing with. So hopefully this is something you'll think about.
Cheers, Nik
Hi Nik, per discussion with @Junshan_Liu , currently the jimu-arcgis library loads JSAPI as a whole but modules. There is no plan to break it down based on JSAPI modules for deployed apps. You may submit an enhancement request to Esri Support or Ideas site.
Done! => Idea