fix: `moduleResolution: bundler` support in tsconfig.json (#51065)
- Fixes https://github.com/vercel/next.js/issues/47858
- Closes https://github.com/vercel/next.js/pull/50289
fix #47858
fix NEXT-1281
Co-authored-by: Kevin Wolf <3157426+kevinwolfcr@users.noreply.github.com>