Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const vite = require('@sentry/server-utils/orchestrion/vite'); const autoInstrument = require('./autoInstrument.js'); function sentryCloudflareVitePlugin(options = {}) { return [ ...options._experimental?.useDiagnosticsChannelInjection ? [vite.sentryOrchestrionPlugin({ injectChannelSubscribers: true })] : [], ...options._experimental?.autoInstrumentation ? [autoInstrument.sentryCloudflareAutoInstrumentPlugin({ wranglerConfigPath: options.wranglerConfigPath })] : [] ]; } exports.sentryCloudflareVitePlugin = sentryCloudflareVitePlugin; //# sourceMappingURL=index.js.map