(pathname: string)
| 77 | } |
| 78 | |
| 79 | export function isExtensionLessPath(pathname: string) { |
| 80 | const parts = pathname.split('/'); |
| 81 | const lastPart = parts[parts.length - 1]; |
| 82 | return !lastPart.includes('.'); |
| 83 | } |
| 84 | |
| 85 | export function isSsrStaticDataPath(pathname: string) { |
| 86 | const parts = pathname.split('/'); |
no outgoing calls
no test coverage detected