UNPKG

@knightly/vite

Version:

Native-ESM powered web dev build tool. It's fast.

10 lines (9 loc) 509 B
import { Plugin, RollupOutput, OutputChunk } from 'rollup'; import { InternalResolver } from '../resolver'; export declare const createBuildHtmlPlugin: (root: string, indexPath: string | null, publicBasePath: string, assetsDir: string, inlineLimit: number, resolver: InternalResolver, shouldPreload: ((chunk: OutputChunk) => boolean) | null) => Promise<{ renderIndex: () => string; htmlPlugin: null; } | { renderIndex: (bundleOutput: RollupOutput['output']) => string; htmlPlugin: Plugin; }>;