Remove unused libraries

I’ve built a Sandcastle based Cesium app, very simple still, but uses WebMapServiceImagery and a couple GeoJSON calls.
However it takes way longer to start up than I think it has to almost a full minute. After profiling in a dev console I see it does more than 1,500 js loading calls. I think it’s loading way more libraries than it truly needs due to the Sandcastle dependency.

Is there is suggest method for moving from prototype Sandcastle app to standalone, stripped down, version that doesn’t make needless calls.

A few assumptions here on my part but could really appreciate your advice, thanks!


You should be able to copy/paste the code form your Sandcastle demo into a tag in an HTML page. You can try doing this with the HelloWorld.html file we include in the download.

See this Getting Started tutorial for more information: