mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Traverse program after running compiler transform to find untransformed references to compiler features (e.g. `inferEffectDeps`, `fire`). Hard error to fail the babel pipeline when the compiler fails to transform these features to give predictable runtime semantics. Untransformed calls to functions like `fire` will throw at runtime anyways, so let's fail the build to catch these earlier. Note that with this fails the build *regardless of panicThreshold* |
||
|---|---|---|
| .. | ||
| ReactCompilerRule-test.ts | ||
| ReactCompilerRuleTypescript-test.ts | ||