MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / init

Function init

packages/remix/src/client/sdk.ts:11–20  ·  view source on GitHub ↗
(options: RemixOptions)

Source from the content-addressed store, hash-verified

9 * @returns The initialized SDK.
10 */
11export function init(options: RemixOptions): Client | undefined {
12 const opts = {
13 ...options,
14 environment: options.environment || process.env.NODE_ENV,
15 };
16
17 applySdkMetadata(opts, 'remix', ['remix', 'react']);
18
19 return reactInit(opts);
20}

Callers 1

Calls 1

applySdkMetadataFunction · 0.90

Tested by

no test coverage detected