next.js
630bf80a - Support shared component with next built-in client components (#35975)

Commit
4 years ago
Support shared component with next built-in client components (#35975) Fixes #35449 Include the shared components (from source code) is in client bundles, previously we lost them so that the client components imported by them are lost in module graph * let flight server loader apply to all pages and imported modules (except node_modules at the moment) * if it's a shared component from source code, include it in client bundle * ignore handling node_modules at the moment (due to the limitation support of esm imports with RSC) ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Errors have helpful link attached, see `contributing.md`
Author
Parents
Loading