1.109 breaks local usage

My use case for Cesium is to load it locally, ie not from a webserver, but as file://.

This worked fine until 1.109 which makes use of modules, and apparently browsers don’t like modules loaded via file://

any tips or tricks i can use here?

Thanks.

Hi there,

Thanks for reporting this.

Using the file system directly (ie, file://) is not recommended due to security restrictions some browsers have in place.

However the core issue has been reported previously and we’re tracking it in GitHub. We’re currently taking a look. In the meantime, you can try using a method other than the CDN to import CesiumJS in your application.

Thanks,
Gabby