question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cesium and Webpack

See original GitHub issue

We’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:

    • #5417
    • #4876
    • Resolve issue with how Webpack compiles require.toUrl in buildModuleUrl.js
  • Create a new cesium-webpack-example repo with the reccomended webpack.config.json configuration.

    • We’ll be using the npm version of Cesium and compiling the Source directory 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 README with how to run the repo, and any optional configurations for performance or development
  • 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:closed
  • Created 6 years ago
  • Reactions:10
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

3reactions
mramatocommented, Oct 20, 2017

For anyone that stumbles on this issue, see @ggetz’s awesome work on Cesium and webpack here: https://cesiumjs.org/tutorials/cesium-and-webpack/

2reactions
markeriksoncommented, Sep 7, 2017

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/ .

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found