CesiumGS / cesium-webpack-example

The minimal recommended setup for an application using Cesium with Webpack.
Apache License 2.0
243 stars 160 forks source link

ContextReplacementPlugin is used to suppress critical dependency warnings caused by require.toUrl in buildModuleUrl #17

Open ezze opened 4 years ago

ezze commented 4 years ago

Fixes #6.

ContextReplacementPlugin

ezze commented 4 years ago

Related issue in Cesium repo: https://github.com/CesiumGS/cesium/issues/8401

ezze commented 4 years ago

If it's merged, probably, this tutorial should also be updated.

puckey commented 3 years ago

Thanks for this PR @ezze – it solved the issues I was having.. I hope it gets merged at some point.