GithubHelp home page GithubHelp logo

markerikson / cesium-react-webpack-demo Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 13.0 161 KB

A sample app to demonstrate using Cesium with React and Webpack, accompanying the blog series at http://blog.isquaredsoftware.com/series/declaratively-rendering-earth-in-3d/

License: MIT License

JavaScript 98.05% HTML 1.82% CSS 0.13%

cesium-react-webpack-demo's People

Contributors

markerikson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cesium-react-webpack-demo's Issues

Building a Cesium Bundle using DllPlugin

Hi Mark,

Thank you for your demo!

In part one, I'm getting tripped up on the section around "Commit b55dbd5: Add scripts to build a Cesium bundle with DllPlugin."

I've been following along with every step of this demo, including grabbing the scripts from Github that you skip looking at in the demo, in re Commit b55dbd5.

When I run node ./scripts/buildCesiumDLL.js, I don't get any asset list, and the whole process goes by in a matter of milliseconds. Which gives me the impression that something meaningful is happening when you run this build that isn't translating to when I run it.

Accordingly, there is no $PROJECT/distdll folder created, and so running node scripts/build.js throws an error because there isn't any distdll/cesiumDLL-manifest.json file. I'm assuming the creation of this file is something that buildCesiumDLL is supposed to automate?

That said, even with deleting the cesium folder from the public directory, npm start still runs the app. While there isn't a $PROJECT/distdll folder, there's a $PROJECT/build one that includes the cesium folder that had previously been living in public.

Any idea what's going on here? And how I can actually compress the cesium bundle (as far as I know it's still 40-some-odd kilobytes)?

Thanks,
Ben

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.