MCPcopy
hub / github.com/webpack/webpack-dev-server / fetchBundle

Function fetchBundle

test/e2e/api-plugin.test.js:537–540  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

535
536 try {
537 const fetchBundle = async () => {
538 const response = await fetch(`http://127.0.0.1:${port}/main.js`);
539 return response.text();
540 };
541
542 // The first build is served from the in-memory file system.
543 expect(await fetchBundle()).toContain("before-rebuild");

Callers 1

api-plugin.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…