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

Method nameForCondition

lib/Module.js:1138–1140  ·  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

1136 * @returns {NameForCondition | null} absolute path which should be used for condition matching (usually the resource path)
1137 */
1138 nameForCondition() {
1139 return null;
1140 }
1141
1142 /**
1143 * Returns the reason this module cannot be concatenated, when one exists.

Callers 9

_factorizeModuleMethod · 0.45
webpack.config.jsFile · 0.45
webpack.config.jsFile · 0.45
webpack.config.jsFile · 0.45
webpack.config.jsFile · 0.45
webpack.config.jsFile · 0.45
webpack.config.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected