MCPcopy
hub / github.com/webpack/webpack / hash

Method hash

lib/Module.js:331–337  ·  view source on GitHub ↗

* Returns the hash of the module. * @deprecated * @returns {string} the hash of the module

()

Source from the content-addressed store, hash-verified

329 * @returns {string} the hash of the module
330 */
331 get hash() {
332 return ChunkGraph.getChunkGraphForModule(
333 this,
334 "Module.hash",
335 "DEP_WEBPACK_MODULE_HASH"
336 ).getModuleHash(this, undefined);
337 }
338
339 /**
340 * Returns the rendered hash of the module.

Callers

nothing calls this directly

Calls 2

getModuleHashMethod · 0.45

Tested by

no test coverage detected