liuweiGL / vite-plugin-mkcert

Provide certificates for vite's https dev service.
https://www.npmjs.com/package/vite-plugin-mkcert
MIT License
541 stars 37 forks source link

Update README.md #79

Closed humleflue closed 6 months ago

humleflue commented 6 months ago

Description

If you have the server.https option set to true, you will get an error, if you bump Vite to version 5+.

See additional context for the error.

Additional context

No overload matches this call.
  The last overload gave the following error.
    Type 'true' has no properties in common with type 'ServerOptions'.ts(2769)
index.d.ts(652, 5): The expected type comes from property 'https' which is declared here on type 'ServerOptions'
index.d.ts(3022, 18): The last overload is declared here.
(property) CommonServerOptions.https?: ServerOptions
Enable TLS + HTTP/2. Note: this downgrades to TLS only when the proxy option is also used.

What is the purpose of this pull request?

humleflue commented 6 months ago

@liuweiGL ready for review.

liuweiGL commented 5 months ago

:tada: This PR is included in version 1.17.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: