import {
  unplugin
} from "./chunk-TKRPRPGD.mjs";

// src/auto-instrumentations/bundler/webpack.ts
function braintrustWebpackPlugin(options = {}) {
  const { useDiagnosticChannelCompatShim = false, ...pluginOptions } = options;
  return unplugin.webpack({
    ...pluginOptions,
    browser: useDiagnosticChannelCompatShim
  });
}
var webpackPlugin = unplugin.webpack;

export {
  braintrustWebpackPlugin,
  webpackPlugin
};
