MCPcopy
hub / github.com/postcss/postcss / mapResolve

Method mapResolve

lib/input.js:198–203  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

196 }
197
198 mapResolve(file) {
199 if (/^\w+:\/\//.test(file)) {
200 return file
201 }
202 return resolve(this.map.consumer().sourceRoot || this.map.root || '.', file)
203 }
204
205 origin(line, column, endLine, endColumn) {
206 if (!this.map) return false

Callers 1

constructorMethod · 0.95

Calls 1

consumerMethod · 0.80

Tested by

no test coverage detected