UNPKG

license-webpack-plugin

Version:

Outputs licenses from 3rd party libraries to a file

11 lines (10 loc) 528 B
import { LicenseIdentifiedModule } from './LicenseIdentifiedModule'; interface ModuleCache { registerModule(chunkName: string, module: LicenseIdentifiedModule): void; markSeenForChunk(chunkName: string, packageName: string): void; alreadySeenForChunk(chunkName: string, packageName: string): boolean; getModule(packageName: string): LicenseIdentifiedModule | null; getAllModulesForChunk(chunkName: string): LicenseIdentifiedModule[]; getAllModules(): LicenseIdentifiedModule[]; } export { ModuleCache };