UNPKG

@sentry/remix

Version:
13 lines • 710 B
import { type Integration } from '@sentry/core'; import { type NodeClient, type NodeOptions } from '@sentry/node'; /** Default integrations for the Remix 3 server SDK. */ export declare function getDefaultIntegrations(options: NodeOptions): Integration[]; /** * Initialize the Sentry Remix 3 SDK on the server. * * Start the app with `--import @sentry/remix/v3/node` so the module hook is registered before * `@remix-run/fetch-router` is imported. Remix 3 has no build step, so no bundler plugin can apply the * transform, and imports are hoisted above any `init()` call in the server entry. */ export declare function init(options: NodeOptions): NodeClient | undefined; //# sourceMappingURL=sdk.d.ts.map