MCPcopy
hub / github.com/webpack/webpack / getSize

Method getSize

lib/Generator.js:97–101  ·  view source on GitHub ↗

* Returns the estimated size for the requested source type. * @abstract * @param {NormalModule} module the module * @param {SourceType=} type source type * @returns {number} estimate size of the module

(module, type)

Source from the content-addressed store, hash-verified

95 * @returns {number} estimate size of the module
96 */
97 getSize(module, type) {
98 const AbstractMethodError = require("./errors/AbstractMethodError");
99
100 throw new AbstractMethodError();
101 }
102
103 /* istanbul ignore next */
104 /**

Callers 2

sizeMethod · 0.45
getSizeMethod · 0.45

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected