-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
webpack-dev-server is not compatible with the latest webpack 5 beta 14 #2453
webpack-dev-server is not compatible with the latest webpack 5 beta 14 #2453
Comments
Sorry for the sloppy bug report, but I'm in a hurry and filing this so I won't forget later. I promise I will file the issue properly tonight. EDIT: filed the bug report properly 🎉 |
The oroblem in your configuration, no a webpack-dev-server side, it is error validation, won't fix on our side, sorry. Please read error message:
|
Anyway feel free to leave feedback, I will reopen issue if you provide reproducible test repo and we find problem on our side, thanks |
I thank you for the prompt and fast attention, but I wish you wouldn't close this issue too suddenly like that 😢 Anyway, I have updated the original comment and created a reproduction repo proving that the bug is indeed from webpack-dev-server: https://github.com/ryanelian/webpack-dev-server-bug2453 CC: @sokra |
Yes, but, feel free to send a PR |
Additional notes: Simply fixing so that WDS is only modifying the "import" field of the entry object appears to be inadequate. More errors appear:
|
I have confirmed that the issue is resolved with the latest master branch ( Can this fix be published to npm please? |
Yes, in near future, we need land some more fixes |
Code
Expected Behavior
No Error.
WDS should configure webpack configuration properly.
Actual Behavior
This is caused by improper configuration by
WDS.addDevServerEntrypoints(config, wdsConfig);
API:For Bugs; How can we reproduce the behavior?
Clone https://github.com/ryanelian/webpack-dev-server-bug2453
Using command line, run:
node wds-cli.js
For Features; What is the motivation and/or use-case for the feature?
None
The text was updated successfully, but these errors were encountered: