function absoluteAppPath(path, root) {
	//@ts-ignore
	return path ? (isAbsolute(path) ? path : join(root, path)) : path;
}
@template {string | undefined} T
@param {T} path
@param {string} root
@returns {T}