| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/framework7/node_modules/vite-plugin-html/dist/ |
Upload File : |
import { HtmlTagDescriptor, PluginOption } from 'vite';
import { Options as Options$1 } from 'ejs';
import { Options } from 'html-minifier-terser';
interface InjectOptions {
/**
* @description Data injected into the html template
*/
data?: Record<string, any>;
tags?: HtmlTagDescriptor[];
/**
* @description ejs options configuration
*/
ejsOptions?: Options$1;
}
interface PageOption {
filename: string;
template: string;
entry?: string;
injectOptions?: InjectOptions;
}
declare type Pages = PageOption[];
interface UserOptions {
/**
* @description Page options
*/
pages?: Pages;
/**
* @description Minimize options
*/
minify?: Options | boolean;
/**
* page entry
*/
entry?: string;
/**
* template path
*/
template?: string;
/**
* @description inject options
*/
inject?: InjectOptions;
/**
* output warning log
* @default false
*/
verbose?: boolean;
}
declare function createHtmlPlugin(userOptions?: UserOptions): PluginOption[];
export { createHtmlPlugin };