Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Create own bundle #2

Open
steveoh opened this issue Oct 16, 2018 · 4 comments
Open

Create own bundle #2

steveoh opened this issue Oct 16, 2018 · 4 comments

Comments

@steveoh
Copy link
Contributor

steveoh commented Oct 16, 2018

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
Copy link
Owner

g3r4n commented Oct 16, 2018

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

@sam-g-steel
Copy link

sam-g-steel commented Oct 29, 2019

@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
Copy link
Contributor Author

steveoh commented Oct 29, 2019

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
Copy link

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants