From 015fec169cdeaa8ac38142f5c43a808053c48a63 Mon Sep 17 00:00:00 2001 From: Tobias Lundin Date: Mon, 18 Jul 2022 22:38:29 +0200 Subject: [PATCH] export BaseSource-class --- 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.