15 lines
362 B
JavaScript
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
|