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

Method nameForCondition

lib/container/RemoteModule.js:183–185  ·  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

181 * @returns {NameForCondition | null} absolute path which should be used for condition matching (usually the resource path)
182 */
183 nameForCondition() {
184 return this.request;
185 }
186
187 /**
188 * Generates code and runtime requirements for this module.

Callers 6

_processResultMethod · 0.45
getShortModuleNameFunction · 0.45
checkTestFunction · 0.45
getMimeTypeMethod · 0.45
applyModuleDefaultsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected