PDF Text Extraction in Next.js Standalone Builds

How a simple PDF upload feature turned into a multi-day debugging session across browser polyfills, build tracing, and Docker containers.