-
Notifications
You must be signed in to change notification settings - Fork 79
How to require geojsonlayer.js in a webpack app #27
Comments
I think you'd have to either use a relative path name ( |
See also this similar issue: tomwayson/angular-esri-loader#24 |
BTW - this should be easier since #40, see https://github.com/Esri/esri-loader#configuring-dojo |
I was not successful in this at that time, I left it. I will try again sometime. |
Sounds good. I should have mentioned in my original response that b/c geojsonlayer.js is a Dojo AMD module, it will not be "bundled with webpack." What I'm proposing is that you configure Dojo to know how to be able to load it just like it loads the modules of the ArcGIS API. |
@ahmadalibaloch I'm assuming you've resolved your issue and closing this for now. Feel free to re-open if needed. |
dojoRequire(['geojsonlayer.js']
is looking for geojsonlayer.js on a path on server. How to bundle this with webpack?https://github.com/Esri/geojson-layer-js
The text was updated successfully, but these errors were encountered: