MCPcopy
hub / github.com/webpack/webpack / isUniversal

Function isUniversal

lib/config/defaults.js:1982–1983  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

1980 * @returns {boolean} true when target is universal, otherwise false
1981 */
1982 const isUniversal = (key) =>
1983 Boolean(outputModule && targetProperties && targetProperties[key] === null);
1984
1985 D(
1986 externalsPresets,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected