import {
  unplugin
} from "../chunk-VXJONZVX.mjs";
import "../chunk-E5DUYJWK.mjs";
import "../chunk-J57YF7WS.mjs";

// src/auto-instrumentations/bundler/vite.ts
function braintrustVitePlugin(options = {}) {
  const { useDiagnosticChannelCompatShim = false, ...pluginOptions } = options;
  return unplugin.vite({
    ...pluginOptions,
    browser: useDiagnosticChannelCompatShim
  });
}
var vitePlugin = unplugin.vite;
export {
  braintrustVitePlugin,
  vitePlugin
};
