MCPcopy
hub / github.com/webpack/webpack / addWarning

Method addWarning

lib/optimize/ModuleConcatenationPlugin.js:982–984  ·  view source on GitHub ↗

* Adds the provided module to the concat configuration. * @param {Module} module the module * @param {Problem} problem the problem

(module, problem)

Source from the content-addressed store, hash-verified

980 * @param {Problem} problem the problem
981 */
982 addWarning(module, problem) {
983 this.warnings.set(module, problem);
984 }
985
986 /**
987 * Gets warnings sorted.

Callers 15

applyMethod · 0.95
buildMethod · 0.45
applyTemplateMethod · 0.45
parseMethod · 0.45
checkMethod · 0.45
_emitWarningMethod · 0.45
webpackIgnoredMethod · 0.45
applyMethod · 0.45
createRequireCallHandlerFunction · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected