Oct 21, 2026·9 min readWhy your build drops 'use client' from the bundleA 'use client' directive can sit in your source and still vanish from the build. The bundler behaviour behind it, and the two ways it bit my logger.#nextjs#react#bundling#typescript