MCPcopy Index your code
hub / github.com/webpack/tapable / needContext

Method needContext

lib/HookCodeFactory.js:178–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 }
177
178 needContext() {
179 const { taps } = this.options;
180 for (let i = 0; i < taps.length; i++) {
181 if (taps[i].context) return true;
182 }
183 return false;
184 }
185
186 callTap(tapIndex, { onError, onResult, onDone, rethrowIfPossible }) {
187 let code = "";

Callers 1

headerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected