Last change
on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1016 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import { Compilation, Compiler } from 'webpack';
|
---|
9 | import { IndexHtmlGenerator, IndexHtmlGeneratorOptions, IndexHtmlGeneratorProcessOptions } from '../../utils/index-file/index-html-generator';
|
---|
10 | export interface IndexHtmlWebpackPluginOptions extends IndexHtmlGeneratorOptions, Omit<IndexHtmlGeneratorProcessOptions, 'files' | 'noModuleFiles' | 'moduleFiles'> {
|
---|
11 | noModuleEntrypoints: string[];
|
---|
12 | moduleEntrypoints: string[];
|
---|
13 | }
|
---|
14 | export declare class IndexHtmlWebpackPlugin extends IndexHtmlGenerator {
|
---|
15 | readonly options: IndexHtmlWebpackPluginOptions;
|
---|
16 | private _compilation;
|
---|
17 | get compilation(): Compilation;
|
---|
18 | constructor(options: IndexHtmlWebpackPluginOptions);
|
---|
19 | apply(compiler: Compiler): void;
|
---|
20 | readAsset(path: string): Promise<string>;
|
---|
21 | protected readIndex(path: string): Promise<string>;
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.