MCPcopy
hub / github.com/less/less.js / normalizeFilename

Method normalizeFilename

packages/less/lib/less/source-map-output.js:42–46  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

40 }
41
42 normalizeFilename(filename) {
43 filename = filename.replace(/\\/g, '/');
44 filename = this.removeBasepath(filename);
45 return (this._sourceMapRootpath || '') + filename;
46 }
47
48 add(chunk, fileInfo, index, mapLines) {
49

Callers 3

addMethod · 0.95
toCSSMethod · 0.95
toCSSMethod · 0.95

Calls 1

removeBasepathMethod · 0.95

Tested by

no test coverage detected