next.js
dacf6d8d - Turbopack: Don't replace constant conditions with sideeffects (#72608)

Commit
1 year ago
Turbopack: Don't replace constant conditions with sideeffects (#72608) Closes PACK-3368 Closes #72180 Previously, ```js if (sideEffectFalse((state += 1))) { return } ``` was replaced with ```js if ("TURBOPACK compile-time falsy", 0) { return } ``` which discards the side effects of both the arguments, and of the function itself.
Author
Parents
Loading