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

Function c

test/PersistentCaching.test.js:198–203  ·  test/PersistentCaching.test.js::c
(/** @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(class="st">"abcde");
205 await c(class="st">"abc");
206 await c(class="st">"cde");

Callers 1

Calls 1

compileFunction · 0.70

Tested by

no test coverage detected