MCPcopy
hub / github.com/webpack/webpack / attach

Method attach

lib/RuntimeModule.js:74–78  ·  view source on GitHub ↗

* Processes the provided compilation. * @param {Compilation} compilation the compilation * @param {Chunk} chunk the chunk * @param {ChunkGraph} chunkGraph the chunk graph * @returns {void}

(compilation, chunk, chunkGraph = compilation.chunkGraph)

Source from the content-addressed store, hash-verified

72 * @returns {void}
73 */
74 attach(compilation, chunk, chunkGraph = compilation.chunkGraph) {
75 this.compilation = compilation;
76 this.chunk = chunk;
77 this.chunkGraph = chunkGraph;
78 }
79
80 /**
81 * Returns the unique identifier used to reference this module.

Callers 1

addRuntimeModuleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected