Cesium and Webpack
See original GitHub issueWe’re working on putting together an example app as an official recommendation on getting Cesium up and running with Webpack.
Here’s the plan:
-
Cleanup some of the pain points we’ve run into in the past within the Cesium library itself. (PR #5861) This includes:
-
Create a new
cesium-webpack-examplerepo with the reccomendedwebpack.config.jsonconfiguration.- We’ll be using the npm version of Cesium and compiling the
Sourcedirectory instead of either the minified or unminified built versions of Cesium. - We’ll also handle managing the assets files and the built versions of the web workers
- We’ll include a
READMEwith how to run the repo, and any optional configurations for performance or development
- We’ll be using the npm version of Cesium and compiling the
-
Setup continuous integration test on that repo to run after every release to make sure nothing in a new release breaks the recommended Cesium setup.
Thanks, please let us know your thoughts!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:10
- Comments:13 (12 by maintainers)
Top Results From Across the Web
CesiumJS and Webpack
webpack is a popular and powerful tool for bundling JavaScript modules. It allows developers to structure their code and assets in an intuitive...
Read more >CesiumGS/cesium-webpack-example: The minimal ... - GitHub
A minimal recommended setup for an applications using Cesium with Webpack. Build Status. Running this application. npm install npm start.
Read more >webpack-cesium - npm
webpack version of Cesium. Latest version: 1.73.0, last published: 2 years ago. Start using webpack-cesium in your project by running `npm i ...
Read more >How to setup CesiumJS to use in ReactJS, Webpack, and ...
js defines the paths to use in webpack config. // The path to the CesiumJS source code const cesiumSource = 'node_modules/cesium/Source'; const ...
Read more >Cesium on Twitter: "Our Cesium + #webpack guide has been ...
Our Cesium + #webpack guide has been updated! The tutorial covers building a web app from the ground up using webpack & integrating...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For anyone that stumbles on this issue, see @ggetz’s awesome work on Cesium and webpack here: https://cesiumjs.org/tutorials/cesium-and-webpack/
Yay! Great to hear this.
I’ll throw in a reminder link to my post on how to load Cesium with Webpack, and produce a DllPlugin bundle for faster builds: http://blog.isquaredsoftware.com/2017/03/declarative-earth-part-1-cesium-webpack/ .