MCPcopy
hub / github.com/webpack/webpack / size

Method size

lib/hmr/LazyCompilationPlugin.js:355–357  ·  view source on GitHub ↗

* Returns the estimated size for the requested source type. * @param {string=} type the source type for which the size should be estimated * @returns {number} the estimated size of the module (must be non-zero)

(type)

Source from the content-addressed store, hash-verified

353 * @returns {number} the estimated size of the module (must be non-zero)
354 */
355 size(type) {
356 return 200;
357 }
358
359 /**
360 * Generates code and runtime requirements for this module.

Callers 1

getSizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected