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

Method constructor

test/utils/webpack-cli-test-plugin.js:2–6  ·  view source on GitHub ↗
(options, showAll = true, showHooks = false)

Source from the content-addressed store, hash-verified

1class WebpackCLITestPlugin {
2 constructor(options, showAll = true, showHooks = false) {
3 this.opts = options;
4 this.showAll = showAll;
5 this.showHooks = showHooks;
6 }
7
8 apply(compiler) {
9 compiler.hooks.done.tap("webpack-cli Test Plugin", () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected