Initial boiler plate project
This commit is contained in:
19
node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js
generated
vendored
Normal file
19
node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* For a given page path, this function ensures that there is no backslash
|
||||
* escaping slashes in the path. Example:
|
||||
* - `foo\/bar\/baz` -> `foo/bar/baz`
|
||||
*/ "use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "normalizePathSep", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return normalizePathSep;
|
||||
}
|
||||
});
|
||||
function normalizePathSep(path) {
|
||||
return path.replace(/\\/g, "/");
|
||||
}
|
||||
|
||||
//# sourceMappingURL=normalize-path-sep.js.map
|
||||
Reference in New Issue
Block a user