1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import type { CompilerOptions } from '@angular/compiler-cli';
|
9 | import type { Compiler } from 'webpack';
|
10 | export declare const imageDomains: Set<string>;
|
11 | export interface AngularWebpackPluginOptions {
|
12 | tsconfig: string;
|
13 | compilerOptions?: CompilerOptions;
|
14 | fileReplacements: Record<string, string>;
|
15 | substitutions: Record<string, string>;
|
16 | directTemplateLoading: boolean;
|
17 | emitClassMetadata: boolean;
|
18 | emitNgModuleScope: boolean;
|
19 | emitSetClassDebugInfo?: boolean;
|
20 | jitMode: boolean;
|
21 | inlineStyleFileExtension?: string;
|
22 | }
|
23 | export declare class AngularWebpackPlugin {
|
24 | private readonly pluginOptions;
|
25 | private compilerCliModule?;
|
26 | private watchMode?;
|
27 | private ngtscNextProgram?;
|
28 | private builder?;
|
29 | private sourceFileCache?;
|
30 | private webpackCache?;
|
31 | private webpackCreateHash?;
|
32 | private readonly fileDependencies;
|
33 | private readonly requiredFilesToEmit;
|
34 | private readonly requiredFilesToEmitCache;
|
35 | private readonly fileEmitHistory;
|
36 | constructor(options?: Partial<AngularWebpackPluginOptions>);
|
37 | private get compilerCli();
|
38 | get options(): AngularWebpackPluginOptions;
|
39 | apply(compiler: Compiler): void;
|
40 | private setupCompilation;
|
41 | private registerWithCompilation;
|
42 | private markResourceUsed;
|
43 | private rebuildRequiredFiles;
|
44 | private loadConfiguration;
|
45 | private updateAotProgram;
|
46 | private updateJitProgram;
|
47 | private createFileEmitter;
|
48 | private initializeCompilerCli;
|
49 | private addFileEmitHistory;
|
50 | private getFileEmitHistory;
|
51 | }
|