MCPcopy
hub / github.com/webpack/webpack / moduleAdd

Method moduleAdd

lib/ProgressPlugin.js:454–460  ·  view source on GitHub ↗
(addModuleQueue, _item)

Source from the content-addressed store, hash-verified

452 * @param {T} _item item
453 */
454 const moduleAdd = (addModuleQueue, _item) => {
455 if (SKIPPED_QUEUE_CONTEXTS.includes(addModuleQueue.getContext())) {
456 skippedModulesCount++;
457 }
458 modulesCount++;
459 if (modulesCount < 50 || modulesCount % 100 === 0) updateThrottled();
460 };
461
462 // only used when showActiveModules is set
463 /**

Callers

nothing calls this directly

Calls 1

getContextMethod · 0.45

Tested by

no test coverage detected