index.d.ts 410 B

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