MCPcopy
hub / github.com/webpack/webpack / hasNodeTarget

Method hasNodeTarget

test/harness/runner/index.js:284–288  ·  view source on GitHub ↗

* @returns {boolean} whether target is node

()

Source from the content-addressed store, hash-verified

282 * @returns {boolean} whether target is node
283 */
284 hasNodeTarget() {
285 return (
286 this._targetProperties !== false && this._targetProperties.node === true
287 );
288 }
289
290 /**
291 * @returns {boolean} whether env is jsdom

Callers 1

getModuleInstanceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected