MCPcopy
hub / github.com/webpack/webpack / getResource

Method getResource

lib/NormalModule.js:967–969  ·  view source on GitHub ↗

* @returns {string | null} return the resource path

()

Source from the content-addressed store, hash-verified

965 * @returns {string | null} return the resource path
966 */
967 getResource() {
968 return this.matchResource || this.resource;
969 }
970
971 /**
972 * Gets the library identifier.

Callers 7

nameForConditionMethod · 0.95
applyMethod · 0.80
parseMethod · 0.80
parseMethod · 0.80
getSourceFileNameMethod · 0.80
generateDataUriMethod · 0.80
getLocalIdentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected