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

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