MCPcopy
hub / github.com/umijs/babel-plugin-import / winPath

Function winPath

src/Plugin.js:12–14  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

10}
11
12function winPath(path) {
13 return path.replace(/\\/g, '/');
14}
15
16function normalizeCustomName(originCustomName) {
17 // If set to a string, treat it as a JavaScript source file path.

Callers 1

importMethodMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…