turbopack: use moduleLoading.prefix to deduplicate chunk path prefix in client-reference-manifest
Set moduleLoading.prefix to `{assetPrefix}/_next/static/chunks` so that
each entry in the chunks array only needs to store the filename (e.g.
`/foo.js`) rather than the full URL (e.g. `/_next/static/chunks/foo.js`),
matching the intent of the moduleLoading.prefix field and reducing manifest
size. Update the actions-tree-shaking test to reconstruct the full path via
moduleLoading.prefix before stripping the /_next/ prefix.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment