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.