* Adds the provided dependency to the module graph. * @param {Dependency} dependency the referencing dependency * @param {string} explanation an explanation * @returns {void}
(dependency, explanation)
| 402 | * @returns {void} |
| 403 | */ |
| 404 | addExplanation(dependency, explanation) { |
| 405 | const connection = |
| 406 | /** @type {ModuleGraphConnection} */ |
| 407 | (this.getConnection(dependency)); |
| 408 | connection.addExplanation(explanation); |
| 409 | } |
| 410 | |
| 411 | /** |
| 412 | * Clones module attributes. |
no test coverage detected