This PR applies - https://github.com/swc-project/swc/pull/2916 - Closes https://github.com/vercel/next.js/issues/31757
Co-authored-by: JJ Kasper <jj@jjsweb.site> Co-authored-by: Tim Neutkens <tim@timneutkens.nl> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>