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

Prefer existing installation #59

Closed jaulz closed 1 year ago

jaulz commented 1 year ago

Clear and concise description of the problem

It would be great if the plugin could prefer an existing installation and root CA path. With the recent changes (https://github.com/liuweiGL/vite-plugin-mkcert/issues/58), I was confused why the existing root certificate was not working anymore. So in fact this could also be flagged as a bug?

Suggested solution

Maybe a simple check to spawn mkcert would be enough.

Alternative

Additional context

liuweiGL commented 1 year ago

:tada: This issue has been resolved in version 1.13.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

jaulz commented 1 year ago

Great, thanks, I will test it tomorrow :blush:

jaulz commented 1 year ago

Perfect, it works like a charm. Thanks a lot for your efforts!