turbopack: narrow namespace destructuring member usage
Treat object destructuring of a namespace value, or of a static member chain
on it, like static member reads: `const { core: { X } } = lib` and
`const { X } = lib.core` only mark `X` used. Rest elements and computed
non-literal keys keep the whole namespace at that level.
<!-- NEXT_JS_LLM -->
Co-authored-by:
Tobias Koppers <1365881+sokra@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment