MCPcopy
hub / github.com/webpack/webpack / getReporter

Method getReporter

lib/ProgressPlugin.js:226–228  ·  lib/ProgressPlugin.js::ProgressPlugin.getReporter

* Returns a progress reporter, if any. * @param {Compiler} compiler the current compiler * @returns {ReportProgress | undefined} a progress reporter, if any

(compiler)

Source from the content-addressed store, hash-verified

224 * @returns {ReportProgress | undefined} a progress reporter, if any
225 */
226 static getReporter(compiler) {
227 return progressReporters.get(compiler);
228 }
229
230 /**
231 * Creates an instance of ProgressPlugin.

Callers 4

applyMethod · 0.80
afterAllStoredMethod · 0.80
applyMethod · 0.80
webpack.config.jsFile · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected