You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
387 B
14 lines
387 B
|
2 months ago
|
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
|