-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Description
What problem does this feature solve?
Allows users to utilize custom SSL certs for HTTPS.
In some cases, it might be necessary to use an SSL certificate for local development.
Moreover, these options are accepted for both webpack-dev-server and the newer webpack-serve:
- https://webpack.js.org/configuration/dev-server/#devserver-https
- https://github.com/webpack-contrib/webpack-serve#cli
I think it makes sense to expose these options to users.
Other CLIs have accepted similar PRs:
What does the proposed API look like?
The addition of --key, --cert and potentially --cacert to vue-cli-service serve.
These values would be optional when --https is used, but in order to use --key and --cert, --https would be required. Or we could infer --https from the presence of a cert/key.
Metadata
Metadata
Assignees
Labels
No labels