import { sentryOrchestrionPlugin } from '@sentry/server-utils/orchestrion/vite'; import { sentryCloudflareAutoInstrumentPlugin } from './autoInstrument.js'; function sentryCloudflareVitePlugin(options = {}) { return [ ...options._experimental?.useDiagnosticsChannelInjection ? [sentryOrchestrionPlugin({ injectChannelSubscribers: true })] : [], ...options._experimental?.autoInstrumentation ? [sentryCloudflareAutoInstrumentPlugin({ wranglerConfigPath: options.wranglerConfigPath })] : [] ]; } export { sentryCloudflareVitePlugin }; //# sourceMappingURL=index.js.map