index.d.ts 405 B

1234567891011
  1. import { type PluginOption } from 'vite';
  2. import { MkcertOptions } from './mkcert';
  3. export { BaseSource, type SourceInfo } from './mkcert/source';
  4. export declare type ViteCertificateOptions = MkcertOptions & {
  5. /**
  6. * The hosts that needs to generate the certificate.
  7. */
  8. hosts?: string[];
  9. };
  10. declare const plugin: (options?: ViteCertificateOptions) => PluginOption;
  11. export default plugin;