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

Method apply

test/e2e/overlay.test.js:27–43  ·  view source on GitHub ↗
(compiler)

Source from the content-addressed store, hash-verified

25 }
26
27 apply(compiler) {
28 compiler.hooks.thisCompilation.tap(
29 "errors-webpack-plugin",
30 (compilation) => {
31 if (
32 typeof this.skipCounter !== "undefined" &&
33 this.counter !== this.skipCounter
34 ) {
35 this.counter += 1;
36
37 return;
38 }
39
40 compilation.errors.push(new Error(this.message));
41 },
42 );
43 }
44}
45
46class WarningPlugin {

Callers 4

entry.test.jsFile · 0.45
overlay.test.jsFile · 0.45
api-plugin.test.jsFile · 0.45
logging.test.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected