Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production build #4

Open
js2me opened this issue Feb 21, 2017 · 1 comment
Open

Production build #4

js2me opened this issue Feb 21, 2017 · 1 comment

Comments

@js2me
Copy link

js2me commented Feb 21, 2017

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants