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

Function compile

test/is-web-target.test.js:12–18  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

10const supportsUniversalTarget = major > 5 || (major === 5 && minor >= 108);
11
12const compile = (target) =>
13 webpack({
14 target,
15 entry: "./lib/Server.js",
16 // A combined web + node target has no default chunk format
17 output: { path: "/", chunkFormat: "array-push" },
18 });
19
20describe("Server.isWebTarget", () => {
21 const cases = [

Callers 3

api-plugin.test.jsFile · 0.85
logging.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…