MCPcopy Create free account
hub / github.com/webpack/webpack-cli / apply

Function apply

test/watch/stats/multi-webpack.config.js:11–18  ·  view source on GitHub ↗
(compiler)

Source from the content-addressed store, hash-verified

9 plugins: [
10 {
11 apply(compiler) {
12 (compiler.webpack ? compiler.hooks.afterDone : compiler.hooks.done).tap(
13 "webpack-cli-test",
14 () => {
15 console.log(`webpack ${webpack.version}`);
16 },
17 );
18 },
19 },
20 ],
21 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected