MCPcopy
hub / github.com/webpack/webpack / forEachEntry

Function forEachEntry

lib/config/defaults.js:1910–1914  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

1908 * @returns {void}
1909 */
1910 const forEachEntry = (fn) => {
1911 for (const name of Object.keys(entry)) {
1912 fn(/** @type {{ [k: string]: EntryDescription }} */ (entry)[name]);
1913 }
1914 };
1915 A(output, "enabledLibraryTypes", () => {
1916 /** @type {LibraryType[]} */
1917 const enabledLibraryTypes = [];

Callers 1

applyOutputDefaultsFunction · 0.85

Calls 2

keysMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected