next.js
2e2211d2 - fix: sort imports to ensure consistent hash (#55358)

Commit
2 years ago
fix: sort imports to ensure consistent hash (#55358) Files with modules loaded by `NextFlightClientEntryLoader` have inconsistent chunkhashes because of unpredictable order of modules loaded. Because of this issue, multi-server builds cannot be used properly For example: `main-app` ![image](https://github.com/vercel/next.js/assets/6988675/d467239d-a017-4db1-9cad-a3a1ebb83f6e) ![image](https://github.com/vercel/next.js/assets/6988675/85e17605-0fb4-40df-b4a6-039de33e0e84) Related issues: https://github.com/vercel/next.js/issues/52827 https://github.com/vercel/next.js/issues/45659
Parents
Loading