silverwolf-x/project / packages /next /src /lib /is-internal-component.ts
silverwolf-x's picture
download
raw
341 Bytes
export function isInternalComponent(pathname: string): boolean {
switch (pathname) {
case 'next/dist/pages/_app':
case 'next/dist/pages/_document':
return true
default:
return false
}
}
export function isNonRoutePagesPage(pathname: string): boolean {
return pathname === '/_app' || pathname === '/_document'
}

Xet Storage Details

Size:
341 Bytes
·
Xet hash:
d667115ac51ab3e41e2bfa3100add0a7ca9dfdb5fb133a605cdd98d97d846906

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.