next.js
b8531670 - Turbopack: Merge babel-loader and react-compiler configuration logic to avoid running babel twice (#83502)

Commit
205 days ago
Turbopack: Merge babel-loader and react-compiler configuration logic to avoid running babel twice (#83502) Port the logic for configuring react-compiler from JS to Rust. This fixes two issues: - Babel could run twice if you had both react compiler enabled and a babel config file. - We can now emit a warning if we detect you manually configured babel. Previously, this wasn't safe because we could erroneously warn if react compiler was enabled.
Author
bgw bgw
Parents
Loading