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

DEP_WEBPACK_DEV_SERVER_HTTPS #1119

Closed
jscptman opened this issue May 15, 2022 · 1 comment
Closed

DEP_WEBPACK_DEV_SERVER_HTTPS #1119

jscptman opened this issue May 15, 2022 · 1 comment

Comments

@jscptman
Copy link

jscptman commented May 15, 2022

I am prompted to update to the devServer.server option when I use the devserver.https: true option,
image
However, when I updated to this option and started my Vue project, an error was reported:
image

@weaverryan
Copy link
Member

Yes, use devserver.server = { type: 'https' }. Or you can (after #1118) pass --server-type=https at the command line.

weaverryan added a commit that referenced this issue Jul 6, 2022
…pack-dev-server (weaverryan)

This PR was squashed before being merged into the main branch.

Discussion
----------

Changing to support the "server" options object for webpack-dev-server

Follow up to #1118 and solves #1119.

The new `server` object has existed since `webpack-dev-server` 4.4 webpack/webpack-dev-server#3940, and we already require 4.8.

Support for the old `https` kept for now (with deprecations) to help people migrate.

Commits
-------

e0fb0ad Changing to support the "server" options object for webpack-dev-server
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