* Processes the provided chunk. * @param {Chunk} chunk the chunk * @param {Hash} hash hash * @param {ChunkHashContext} chunkHashContext chunk hash context * @param {LibraryContext<T>} libraryContext context * @returns {void}
(chunk, hash, chunkHashContext, libraryContext)
| 341 | * @returns {void} |
| 342 | */ |
| 343 | chunkHash(chunk, hash, chunkHashContext, libraryContext) { |
| 344 | const options = this._parseOptionsCached( |
| 345 | libraryContext.compilation.outputOptions.library |
| 346 | ); |
| 347 | hash.update(this._pluginName); |
| 348 | hash.update(JSON.stringify(options)); |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE = COMMON_LIBRARY_NAME_MESSAGE; |
no test coverage detected