vite-plugin-basic-ssl
vite-plugin-basic-ssl copied to clipboard
cacheDir path is missing the root path
Hello. Looks like the cacheDir option in Vite config file is broken. I feel like the root option has been forgotten.
{
root: "./packages/application",
cacheDir: ".cache"
}
It does save the certificate into /.cache instead of ./packages/application/.cache.
Thanks.
Hello. Looks like the
cacheDiroption in Vite config file is broken. I feel like therootoption has been forgotten.{ root: "./packages/application", cacheDir: ".cache" }It does save the certificate into
/.cacheinstead of./packages/application/.cache. Thanks. this plugin compute cacheDir itself which is different from the rule ofvite, I think the hook used in this plugin is a littleearly