fix: use absolute package path for node-stream-helpers require in app-page template (webpack)
The app-page.ts template is compiled by the user's bundler (webpack or Turbopack)
as a virtual entry from the project root. Relative require() paths fail in webpack
because it can't resolve them from the virtual entry point.
Changed from:
require('../../server/stream-utils/node-stream-helpers')
To:
require('next/dist/server/stream-utils/node-stream-helpers')
This matches the pattern used elsewhere in app-page.ts (e.g., line 278) and works
for both webpack and Turbopack. The type import remains relative for TypeScript.
Fixes the PPR resume path when __NEXT_USE_NODE_STREAMS=true with webpack.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>