MCPcopy Index your code
hub / github.com/webpack/css-loader / normalizePath

Function normalizePath

src/utils.js:258–260  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

256}
257
258function normalizePath(file) {
259 return path.sep === "\\" ? file.replace(/\\/g, "/") : file;
260}
261
262// eslint-disable-next-line no-control-regex
263const filenameReservedRegex = /[<>:"/\\|?*]/g;

Callers 3

defaultGetLocalIdentFunction · 0.85
normalizeSourceMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected