Problem using esri library w/ angular-cli
vivekimsit opened this issue · 4 comments
Hi,
I am trying to load with angular-cli but no luck, it can't find esri
module, can you please help me to identify where top put the dependencies.
I have not tried angular-cli yet, but I would suspect that at the very least you'd have to modify the webpack.config.js as follows:
You can see an example of how to use the ArcGIS API for JavaScript in an angular-cli project here: https://github.com/tomwayson/angular-cli-esri
More info about how the above project works is available here: http://tomwayson.com/2016/11/27/using-the-arcgis-api-for-javascript-in-applications-built-with-webpack/
I'm going to close this issue as I have no intent to use angular-cli in this repo and there are other ways to use to use the ArcGIS API w/ angular-cli.
Update: http://disq.us/p/1gbqtt3