Turbopack HMR: Add hook for failed updates and log them more clearly (#7715)
This:
- Implements a hook that enables callers like Next.js to perform their
own logic (to be used in an upcoming linked PR) when HMR updates fail,
such as anonymous function components
- Logs an actionable message similar to Next.js+Webpack when updates
fail
Closes PACK-2726