You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
739 B

import { Compiler } from '@rspack/core';
import { ExtraEntryPoint } from '../utils/model';
export interface WriteIndexHtmlOptions {
indexPath: string;
outputPath: string;
baseHref?: string;
deployUrl?: string;
sri?: boolean;
scripts?: ExtraEntryPoint[];
styles?: ExtraEntryPoint[];
crossOrigin?: 'none' | 'anonymous' | 'use-credentials';
}
export declare class WriteIndexHtmlPlugin {
private readonly options;
constructor(options: WriteIndexHtmlOptions);
apply(compiler: Compiler): void;
private getEmittedFiles;
private stripBom;
private augmentIndexHtml;
private generateSriAttributes;
private filterAndMapBuildFiles;
}
//# sourceMappingURL=write-index-html-plugin.d.ts.map