1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { CompilerOptions } from '@angular/compiler-cli';
|
9 | import { Compiler } from 'webpack';
|
10 | export interface AngularWebpackPluginOptions {
|
11 | tsconfig: string;
|
12 | compilerOptions?: CompilerOptions;
|
13 | fileReplacements: Record<string, string>;
|
14 | substitutions: Record<string, string>;
|
15 | directTemplateLoading: boolean;
|
16 | emitClassMetadata: boolean;
|
17 | emitNgModuleScope: boolean;
|
18 | jitMode: boolean;
|
19 | inlineStyleMimeType?: string;
|
20 | }
|
21 | export declare class AngularWebpackPlugin {
|
22 | private readonly pluginOptions;
|
23 | private watchMode?;
|
24 | private ngtscNextProgram?;
|
25 | private builder?;
|
26 | private sourceFileCache?;
|
27 | private readonly fileDependencies;
|
28 | private readonly requiredFilesToEmit;
|
29 | private readonly requiredFilesToEmitCache;
|
30 | private readonly fileEmitHistory;
|
31 | constructor(options?: Partial<AngularWebpackPluginOptions>);
|
32 | get options(): AngularWebpackPluginOptions;
|
33 | apply(compiler: Compiler): void;
|
34 | private markResourceUsed;
|
35 | private rebuildRequiredFiles;
|
36 | private loadConfiguration;
|
37 | private updateAotProgram;
|
38 | private updateJitProgram;
|
39 | private createFileEmitter;
|
40 | }
|