From 75345649806796e4815aefbae3224b3dc1d0f556 Mon Sep 17 00:00:00 2001 From: Tobias Lundin Date: Tue, 19 Jul 2022 04:57:24 +0200 Subject: [PATCH] export BaseSource-class (#37) --- plugin/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/index.ts b/plugin/index.ts index ebb3994..2c3ed26 100644 --- a/plugin/index.ts +++ b/plugin/index.ts @@ -4,6 +4,9 @@ import { PLUGIN_NAME } from './lib/constant' import { getDefaultHosts } from './lib/util' import Mkcert, { MkcertOptions } from './mkcert' +export { BaseSource } from './mkcert/source' +export type { SourceInfo } from './mkcert/source' + export type ViteCertificateOptions = MkcertOptions & { /** * The hosts that needs to generate the certificate.