markerikson / react-redux-cesium-testing-demo

A sample project demonstrating configuration of React, Redux, Webpack, Cesium, and Mocha
ISC License
51 stars 7 forks source link

Production build #4

Open js2me opened 7 years ago

js2me commented 7 years ago

Hello, dear @markerikson

Now I decided to collect project to production version And I see this errors in console: image

server config :

app.use("/", express.static(PATHS.dist));
app.listen(ENVIRONMENT.port, ENVIRONMENT.host, function (err) {
    console.log('Listening at http://${'+ENVIRONMENT.host+'}:${'+ENVIRONMENT.port+'}');
    if(err)
    {
        console.log(err);
        return;
    }

});

And my path dist image Likely, I'm doing something wrong :-)))

markerikson commented 7 years ago

The webpackJsonp error generally means that Webpack has output multiple chunks, but the one containing the Webpack bootstrapping code wasn't the first chunk loaded into the page.

I may glance at this briefly later this week, but honestly not a high priority for me atm.