import {
  unplugin
} from "../chunk-TKRPRPGD.mjs";
import "../chunk-BRQX23KL.mjs";
import "../chunk-M6DLIJ2Z.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
};
