NeahNew/node_modules/next/dist/esm/lib/is-internal-component.js
2025-05-03 14:17:46 +02:00

14 lines
387 B
JavaScript

export function isInternalComponent(pathname) {
switch(pathname){
case 'next/dist/pages/_app':
case 'next/dist/pages/_document':
return true;
default:
return false;
}
}
export function isNonRoutePagesPage(pathname) {
return pathname === '/_app' || pathname === '/_document';
}
//# sourceMappingURL=is-internal-component.js.map