reearth/craco-cesium

craco build

decoderzhub opened this issue · 1 comments

Having issues deploying to production server after running yarn build.

After I deploy to my server I get a blank screen.

Screen Shot 2019-07-05 at 4 07 43 PM

Is this only for development server? I can run it on localhost:3000 when running yarn start no problems.

Do I need to set the homepage: "./" or entry point main: "index.js"?

Screen Shot 2019-07-05 at 4 10 04 PM

Please help I've spent a couple of days trying to find a solution.

you can see the results here:

https://arvibe.xyz/n3/index.html . <--- craco build

I've even attempted to use the webpack config 1 and I was having the same issue just getting a blank screen.

https://arvibe.xyz/NGFDemo/index.html . <-- webpack config 1 build

I'm using the wrong type of server, it's because of the react-router-dom