g3r4n / arcgispack

MIT License
6 stars 4 forks source link

Create own bundle #2

Open steveoh opened 5 years ago

steveoh commented 5 years ago

Hello,

The version of the jsapi that you have on jsdelivr is 4.7 and outdated.

Would you provide some assistance on how to create my own bundle using the latest version from https://www.npmjs.com/package/arcgis-js-api?

g3r4n commented 5 years ago

I've made a CDN build with the 4.9 API : https://cdn.jsdelivr.net/gh/g3r4n/arcgispack@0.0.25/esri-bundle/bundle.js packange.json : https://cdn.jsdelivr.net/gh/g3r4n/arcgispack@0.0.25/package.json I'll add the steps to create your own build in the Readme

sam-g-steel commented 4 years ago

@g3r4n, @steveoh I was able to use this tool to build a bundle with arcgis 4.10 after fighting for a bit but have had no success with 4.11, 4.12. I am currently trying 4.13.

Any help would be greatly appreciated

Thanks

steveoh commented 4 years ago

I gave up on this project because it's so slow to update and there was too much magic going on out of my control.

I've since switched to https://github.com/Esri/esri-loader and I'd suggest you do as well.

sam-g-steel commented 4 years ago

@steveoh I hear you getting the bundle to build and work is tricky!!! I looked at using esri-loader but i need to be able to load ArcGIS up front and esri-loader wasn't working for me.

That said I saw your (@steveoh 's) copy of arcgispack and I made a few tweaks to it and 4.11 now seems to work flawlessly. Tomorrow I plan on trying to upgrade to 4.12.

@g3r4n, If you are interested I'd be glad to submit a pull request.