I've put my question as well as the code in this issue.
https://github.com/immiao/cesium-weather/issues/1
Basically I'm trying to build up React + Webpack Cesium application but got a bug.
The error message is like this:
bundle.js:168429 Error constructing CesiumWidget.
Visit <a href="http://get.webgl.org">http://get.webgl.org</a> to verify that your web browser and hardware support WebGL. Consider trying a different web browser or updating your video drivers. Detailed error information is below:
Error: Cannot find module "."
Error: Cannot find module "."
at webpackMissingModule (bundle.js:29861)
at buildModuleUrl (bundle.js:29861)
at new Globe (bundle.js:168694)
at new CesiumWidget (bundle.js:168075)
at new Viewer (bundle.js:103299)
at App.componentDidMount (bundle.js:102847)
at commitLifeCycles (bundle.js:96015)
at commitAllLifeCycles (bundle.js:97191)
at HTMLUnknownElement.callCallback (bundle.js:87787)
at Object.invokeGuardedCallbackDev (bundle.js:87826)
Could anyone help me figure it out?