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

Function getSDKSource

packages/core/src/utils/env.ts:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 * Get source of SDK.
31 */
32export function getSDKSource(): SdkSource {
33 // The `/*! ... */` marker is replaced by our CDN bundle build step with `return 'cdn';`.
34 // It uses the `/*!` legal-comment syntax specifically so it survives esbuild's transpile
35 // (which strips ordinary `/* ... */` block comments).
36 /*! __SENTRY_SDK_SOURCE__ */ return 'npm';
37}

Callers 2

initFunction · 0.90
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected