(subPath = '')
| 140 | } |
| 141 | |
| 142 | export function getProjectAppRelativePath(subPath = ''): string { |
| 143 | const base = computeProjectAppPath(); |
| 144 | const cleanSub = normalizePathSegment(subPath); |
| 145 | if (!cleanSub) return base; |
| 146 | return `${base}/${cleanSub}`.replace(/\/+/g, '/'); |
| 147 | } |
| 148 | |
| 149 | export function getProjectAppAbsolutePath(subPath = ''): string { |
| 150 | const rel = getProjectAppRelativePath(subPath); |
no test coverage detected