UNPKG

next

Version:

The React Framework

10 lines (9 loc) • 337 B
import { getPathMatch } from '../../shared/lib/router/utils/path-match'; const matcher = getPathMatch('/_next/data/:path*', { sensitive: true }); export function matchNextDataPathname(pathname) { if (typeof pathname !== 'string') return false; return matcher(pathname); } //# sourceMappingURL=match-next-data-pathname.js.map