Search Three3D

CesiumJS Webpack Example

Add a CesiumJS viewer to a Webpack project with its worker and widget assets in the right place.

Pricing
Free · Open source
License
Apache-2.0 (example code)
Formats / platform
Web, Webpack, JavaScript
Topics
Cesium3D Maps

Overview

Start here when your application already uses Webpack and you want a small configuration to compare with your own. Cesium’s repository includes separate examples for Webpack 4 and 5 and documents copying required runtime directories.

Best for

Key features & formats

How to use & license notes

Use the webpack-5 example for Webpack 5 and follow its README. Test a production build under the subpath you intend to serve. Preserve the Apache license and relevant notices when redistributing the example. Data and hosted services have their own terms.

Official site and license checked .