mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 17:37:24 +08:00
11 lines
571 B
TypeScript
11 lines
571 B
TypeScript
import { Plugin, OutputChunk, RollupOutput } from 'rollup';
|
|
import { InternalResolver } from '../resolver';
|
|
import { UserConfig } from '../config';
|
|
export declare const createBuildHtmlPlugin: (root: string, indexPath: string, publicBasePath: string, assetsDir: string, inlineLimit: number, resolver: InternalResolver, shouldPreload: ((chunk: OutputChunk) => boolean) | null, config: UserConfig) => Promise<{
|
|
renderIndex: () => string;
|
|
htmlPlugin: null;
|
|
} | {
|
|
renderIndex: (bundleOutput: RollupOutput['output']) => Promise<string>;
|
|
htmlPlugin: Plugin;
|
|
}>;
|