outputMode
Package: @autotracer/plugin-vite-react18 · Layer: Build · Type: "devtools" | "copy-paste" · Default: undefined
outputMode is a build configuration option for reactTracer.vite() — the Vite plugin initializer of the @autotracer/plugin-vite-react18 React build-time injection package. It injects a startup script that sets the canonical AutoTracer output mode before your app runs.
When present and inject is enabled, the plugin seeds globalThis.__autoTracerInternal.outputMode and, when the runtime surface already exists, calls globalThis.autoTracer.setOutputMode(...) so the chosen format is active from the first trace.
Use ReactTracer Runtime outputMode for the exact runtime meaning of "devtools" and "copy-paste".
Read together with inject, dashboardConfig, and ReactTracer Runtime outputMode.
Usage
reactTracer.vite({
outputMode: "devtools",
});