-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
webpack-dev-server should work with webpack 5 and webpack-cli #2239
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
Comments
We need setup webpack@5 in CI to ensure all works fine, i think only cli broken |
+1 |
Indeed, this is now resolved using |
Keep open until we set up CI |
|
@JoshuaKGoldberg we try to solve this for next release |
im getting.. guessing its down to this thread still being open |
@jasonwilliams ignore this, we update peerDeps field after stable release |
Code
Expected Behavior
webpack-dev-server
should be able to work with webpack 5.Actual Behavior
I am running
webpack-dev-server@3.8.0
andwebpack-cli@3.3.7
alongsidewebpack@5.0.0-alpha.23
.Simply running the
$ yarn webpack-dev-server
command is launching the server correctly, but as soon as I pass it our actual config file with$ yarn webpack-dev-server --config <path-to-config>.js
, it is failing with the following error:I tried removing most of the config, but it seems to fail as soon as a config file is passed.
For Bugs; How can we reproduce the behavior?
Starting
webpack-dev-server@3.8.0
withwebpack-cli@3.3.7
andwebpack@5.0.0-alpha.23
with the--config
flag.For Features; What is the motivation and/or use-case for the feature?
Adding long-term support for webpack 5 to benefit from its major updates.
The text was updated successfully, but these errors were encountered: