import { getDefaultIntegrations, init as init$1 } from '@sentry/browser'; import { applySdkMetadata, DEV_ENVIRONMENT, DEFAULT_ENVIRONMENT } from '@sentry/core'; function init(options) { const envFallback = import.meta.dev ? DEV_ENVIRONMENT : DEFAULT_ENVIRONMENT; const sentryOptions = { /* BrowserTracing is added later with the Nuxt client plugin */ defaultIntegrations: [...getDefaultIntegrations(options)], environment: options.environment ?? process.env.SENTRY_ENVIRONMENT ?? envFallback, ...options }; applySdkMetadata(sentryOptions, "nuxt", ["nuxt", "vue"]); return init$1(sentryOptions); } export { init }; //# sourceMappingURL=sdk.js.map