assassin-bug/framework/asset-manager/utils.js

9 lines
157 B
JavaScript

export function buildPath(basePath, path) {
if (!basePath) {
return path;
}
else {
return `${basePath}/${path}`;
}
}