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

update webpack dependencies and config #52

Closed jjspace closed 8 months ago

jjspace commented 8 months ago

We are basically already inline with the correct ways to do webpack 5. This just updates the config slightly to demonstrate setting a static path and updates the related package versions.

I also added a npm run start:built to demonstrate hosting the built version as static files using http-server

This branches off of #51

Fixes https://github.com/CesiumGS/cesium-webpack-example/issues/24 Fixes https://github.com/CesiumGS/cesium-webpack-example/issues/11 Fixes https://github.com/CesiumGS/cesium-webpack-example/issues/4

ggetz commented 8 months ago

Looks good to me! Thanks @jjspace!