NeahNew/node_modules/next/dist/shared/lib/encode-uri-path.js
2025-05-03 14:17:46 +02: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