Closed tgeorges closed 2 years ago
I am getting this Chrome console message when trying to use the out-of-the-box Measure widget with a non-web-mercator basemap: "Uncaught (in promise) ReferenceError: WEBPACK_EXTERNAL_MODULEsupport_pe_wasm__ is not defined" - Could this also be related?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity.
Hi @odoe, I have a not so special case where main code is loaded from a webserver port 80, and ArcGIS API is loaded from this server (for example webpack dev server) on port 8080. In this case, ArcGIS API try to load pe asm on webserver with port 80 : it seams that asm loader in module node_modules/arcgis-js-api/geometry/support/pe-wasm.js does not use dojo config base url to fetch this module. Do you confirm it ? Does it make sense for you to fix it in the API ?
Without that we cannot use that feature of the api :-(
Thanks
Originally posted by @tgeorges in https://github.com/Esri/arcgis-webpack-plugin/issues/8#issuecomment-477917489