MCPcopy
hub / github.com/webpack/webpack / c

Function c

test/PersistentCaching.test.js:198–203  ·  view source on GitHub ↗
(/** @type {string} */ items)

Source from the content-addressed store, hash-verified

196 };
197 await updateSrc(data);
198 const c = (/** @type {string} */ items) => {
199 /** @type {Record<string, string>} */
200 const entry = {};
201 for (const item of items) entry[item] = `./src/${item}.js`;
202 return compile({ entry, cache: { compression: false } });
203 };
204 await c("abcde");
205 await c("abc");
206 await c("cde");

Callers 1

Calls 1

compileFunction · 0.70

Tested by

no test coverage detected