@sentry/nextjs
Version:
Official Sentry SDK for Next.js
8 lines • 440 B
TypeScript
/**
* Whether the project has an `app` directory and no page files outside `pages/api`.
*
* A false positive would silently drop Pages Router navigation spans, so any file outside `pages/api` counts as a
* page (covers custom `pageExtensions` and `_app`/`_document`), and no `app` directory means `false`.
*/
export declare function hasOnlyAppRouterPages(projectDir: string): boolean;
//# sourceMappingURL=pagesRouterDetection.d.ts.map