turbopack: narrow nested namespace member usage
Track static member chains through namespace reexports so that reading
`lib.core.CoreError` through `import * as lib` only marks `CoreError` used
in `core`, rather than the whole `core` namespace. Unused nested namespaces
such as `lib.core.locales` are dropped from the bundle.
Fixes #99954
<!-- NEXT_JS_LLM -->
Co-authored-by:
Tobias Koppers <1365881+sokra@users.noreply.github.com>
Showing
File moved
File moved
File moved
Please
register
or
sign in
to comment