(_filename, event)
| 136 | ["babel-plugin-react-compiler", { |
| 137 | logger: { |
| 138 | logEvent(_filename, event) { |
| 139 | if (event.kind === "CompileError" || event.kind === "CompileSkip") { |
| 140 | const msg = event.detail || event.reason || "(unknown)"; |
| 141 | diagnostics.push({ |
| 142 | line: event.fnLoc?.start?.line ?? 0, |
| 143 | short: shortenMessage(msg), |
| 144 | }); |
| 145 | } |
| 146 | }, |
| 147 | }, |
| 148 | }], |
| 149 | ], |
nothing calls this directly
no test coverage detected