next.js
12fdc51c - Turbopack: Use content for async loader digests, not availability info (#78386)

Commit
1 year ago
Turbopack: Use content for async loader digests, not availability info (#78386) Incorporating availability info into the hash digests for asynchronous loaders resulted in many copies of loaders being created, each with identical content, as there were many routes in the graph to loading a chunk. This way, we deduplicate loaders while still creating unique loaders when truly needed. Test Plan: Tested in `cal.com`. Verified the number of output loaders for server chunks for `packages/app-store` went from 50 copies to one.
Author
Parents
Loading