@angular-devkit/build-angular
Version:
Angular Webpack Build Facade
22 lines (21 loc) • 713 B
TypeScript
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;
}