1 | import { WebpackChunkHandler } from './WebpackChunkHandler';
|
---|
2 | import { WebpackChunk } from './WebpackChunk';
|
---|
3 | import { FileHandler } from './FileHandler';
|
---|
4 | import { LicenseTypeIdentifier } from './LicenseTypeIdentifier';
|
---|
5 | import { FileSystem } from './FileSystem';
|
---|
6 | import { LicenseTextReader } from './LicenseTextReader';
|
---|
7 | import { ModuleCache } from './ModuleCache';
|
---|
8 | import { LicensePolicy } from './LicensePolicy';
|
---|
9 | import { Module } from './Module';
|
---|
10 | import { LicenseIdentifiedModule } from './LicenseIdentifiedModule';
|
---|
11 | import { WebpackCompilation } from './WebpackCompilation';
|
---|
12 | import { Logger } from './Logger';
|
---|
13 | import { WebpackStats } from './WebpackStats';
|
---|
14 | declare class PluginChunkReadHandler implements WebpackChunkHandler {
|
---|
15 | private logger;
|
---|
16 | private fileHandler;
|
---|
17 | private licenseTypeIdentifier;
|
---|
18 | private licenseTextReader;
|
---|
19 | private licensePolicy;
|
---|
20 | private fileSystem;
|
---|
21 | private moduleIterator;
|
---|
22 | private fileIterator;
|
---|
23 | constructor(logger: Logger, fileHandler: FileHandler, licenseTypeIdentifier: LicenseTypeIdentifier, licenseTextReader: LicenseTextReader, licensePolicy: LicensePolicy, fileSystem: FileSystem);
|
---|
24 | processChunk(compilation: WebpackCompilation, chunk: WebpackChunk, moduleCache: ModuleCache, stats: WebpackStats | undefined): void;
|
---|
25 | private getPackageJson;
|
---|
26 | processModule(compilation: WebpackCompilation, chunk: WebpackChunk, moduleCache: ModuleCache, module: Module | LicenseIdentifiedModule | null): void;
|
---|
27 | }
|
---|
28 | export { PluginChunkReadHandler };
|
---|