Files
scrap/node_modules/next/dist/shared/lib/encode-uri-path.js
2024-09-24 03:52:46 +00:00

15 lines
362 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "encodeURIPath", {
enumerable: true,
get: function() {
return encodeURIPath;
}
});
function encodeURIPath(file) {
return file.split("/").map((p)=>encodeURIComponent(p)).join("/");
}
//# sourceMappingURL=encode-uri-path.js.map