@sentry/nextjs
Version:
Official Sentry SDK for Next.js
16 lines (15 loc) • 921 B
TypeScript
/**
* Instrumented packages verified (via e2e) to bundle correctly, removed from Sentry's own
* `serverExternalPackages` defaults so the build-time loader can transform them. Everything else
* stays external and is instrumented by the runtime module hook instead. Deliberately an
* allowlist — bundling can break packages outright (e.g. `mysql` 2.x under Turbopack).
*/
export declare const BUNDLE_SAFE_INSTRUMENTED_PACKAGES: string[];
/**
* The orchestrion runtime machinery must stay external — its parser breaks when bundled, which
* silently disables the runtime module hook.
*/
export declare const ORCHESTRION_RUNTIME_EXTERNAL_PACKAGES: string[];
/** Remove the given packages from a `serverExternalPackages` list. */
export declare function filterInstrumentedExternals(externals: string[], packagesToBundle: string[]): string[];
//# sourceMappingURL=diagnosticsChannelInjection.d.ts.map