UNPKG

@angular-devkit/build-angular

Version:
22 lines (21 loc) 713 B
import { Compiler } from 'webpack'; import { CrossOriginValue } from '../utilities/index-file/augment-index-html'; import { IndexHtmlTransform } from '../utilities/index-file/write-index-html'; export interface IndexHtmlWebpackPluginOptions { input: string; output: string; baseHref?: string; entrypoints: string[]; deployUrl?: string; sri: boolean; noModuleEntrypoints: string[]; moduleEntrypoints: string[]; postTransform?: IndexHtmlTransform; crossOrigin?: CrossOriginValue; lang?: string; } export declare class IndexHtmlWebpackPlugin { private _options; constructor(options?: Partial<IndexHtmlWebpackPluginOptions>); apply(compiler: Compiler): void; }