MCPcopy
hub / github.com/webpack/webpack / fn

Function fn

lib/optimize/SplitChunksPlugin.js:554–561  ·  lib/optimize/SplitChunksPlugin.js::fn
(module, context)

Source from the content-addressed store, hash-verified

552 * @returns {CacheGroupSource[]} the matching cache groups
553 */
554 const fn = (module, context) => {
555 /** @type {CacheGroupSource[]} */
556 const results = [];
557 for (const fn of handlers) {
558 fn(module, context, results);
559 }
560 return results;
561 };
562 return fn;
563 }
564 return () => null;

Callers 2

mapObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected