mode
Package: @autotracer/plugin-babel-react19 · Layer: Build · Type: "opt-in" | "opt-out" · Default: "opt-out"
mode is a build configuration option passed to @autotracer/plugin-babel-react19. It decides the fallback instrumentation policy after file eligibility, component eligibility, and pragma checks have already been applied.
In "opt-out", eligible components are instrumented by default. In "opt-in", eligible components are skipped unless they have a // @trace pragma.
Usage
js
{
"plugins": [
["@autotracer/plugin-babel-react19", { "mode": "opt-in" }]
]
}Read together with include, exclude, and pragma comments.