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

Function withSentryConfig

packages/nitro/src/config.ts:11–13  ·  view source on GitHub ↗
(config: NitroConfig, sentryOptions?: SentryNitroOptions)

Source from the content-addressed store, hash-verified

9 * Modifies the passed in Nitro configuration with automatic build-time instrumentation.
10 */
11export function withSentryConfig(config: NitroConfig, sentryOptions?: SentryNitroOptions): NitroConfig {
12 return setupSentryNitroModule(config, sentryOptions);
13}
14
15/**
16 * Sets up the Sentry Nitro module, useful for meta framework integrations.

Callers 11

vite.config.tsFile · 0.90
next.config.jsFile · 0.50
next.config.jsFile · 0.50
next.config.jsFile · 0.50
next.config.jsFile · 0.50
next.config.jsFile · 0.50
next.config.jsFile · 0.50
next.config.jsFile · 0.50
next.config.jsFile · 0.50
next.config.jsFile · 0.50
next.config.jsFile · 0.50

Calls 1

setupSentryNitroModuleFunction · 0.85

Tested by

no test coverage detected