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

Method size

lib/container/RemoteModule.js:140–142  ·  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

138 * @returns {number} the estimated size of the module (must be non-zero)
139 */
140 size(type) {
141 return 6;
142 }
143
144 /**
145 * Returns the source types this module can generate.

Callers 1

getSizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected