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