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

Issue with webpack configuration in a VM #15887

Closed
lyrixx opened this issue Oct 5, 2021 · 5 comments
Closed

Issue with webpack configuration in a VM #15887

lyrixx opened this issue Oct 5, 2021 · 5 comments
Labels
front-end help wanted Issues and PRs which are looking for volunteers to complete them.

Comments

@lyrixx
Copy link
Member

lyrixx commented Oct 5, 2021

The following guide does not work anymore with the latest version of wepback

We have the same issue with our docker starter and I'm not able to fix it

TL;DR: webpack should bind 0.0.0.0 and expose a custom host

I'm able to:

  • use a custom host (like http://app.vm:8080) and bind 127.0.0.1
  • OR bind 0.0.0.0 and expose host 0.0.0.0

If someone have the solution, it would be super nice!

@lyrixx
Copy link
Member Author

lyrixx commented Oct 5, 2021

Note: I think it's related to webpack/webpack-dev-server#3309
IIRC, I already tried webSocketURL option but I did not work (the HTTP resource in the entrypoints.json was 0.0.0.0; may be there is something to fix in encore?)

@lyrixx
Copy link
Member Author

lyrixx commented Oct 13, 2021

I managed to fix it, see jolicode/docker-starter#161

@javiereguiluz javiereguiluz added the help wanted Issues and PRs which are looking for volunteers to complete them. label Aug 5, 2022
@javiereguiluz
Copy link
Member

Any expert in Webpack, etc. willing to create a PR to fix the docs about this? Thanks 🙏

@javiereguiluz
Copy link
Member

Let's close this as "won't fix" because:

  • We haven't received more reports about this
  • People can check the fix linked by Grégoire and adapt it to their needs
  • Webpack Encore is going to be less and less important now that we have AssetMapper

Thanks

@lyrixx
Copy link
Member Author

lyrixx commented Jun 16, 2023

  • Webpack Encore is going to be less and less important now that we have AssetMapper

Not sure about that :)

But ok to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end help wanted Issues and PRs which are looking for volunteers to complete them.
Projects
None yet
Development

No branches or pull requests

3 participants