MCPcopy
hub / github.com/webpack/webpack / nameForCondition

Method nameForCondition

lib/optimize/ConcatenatedModule.js:940–942  ·  view source on GitHub ↗

* Returns the path used when matching this module against rule conditions. * @returns {NameForCondition | null} absolute path which should be used for condition matching (usually the resource path)

()

Source from the content-addressed store, hash-verified

938 * @returns {NameForCondition | null} absolute path which should be used for condition matching (usually the resource path)
939 */
940 nameForCondition() {
941 return this.rootModule.nameForCondition();
942 }
943
944 /**
945 * Gets side effects connection state.

Callers 2

checkTestFunction · 0.45
getKeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected