property
CompileBuildOptions.aotExplain
aotExplain?: AotReport | AotReport[]
With aot: reports to add to BuildOutput.logs, at level "verbose".
"text": the code that compiled to a slow path, one entry per cause with a fix, worst first"json": the same, one JSON object per line"guards": every type guard that can fail at run time, why the compiler couldn't remove it, and how to fix it"guards-json": the same, one JSON object per line"trim": which Bun and Node.js APIs the program uses, and whytrimkept or removed each feature"missed-optimizations": calls that weren't inlined, loops that weren't optimized, and why"allocations": where each object is allocated (stack, heap or removed), and why
Equivalent CLI flag: --explain