next.js
fec0a517 - [turbopack] Tree shake w/ `bar['foo']` syntax for star imports (#96319)

Commit
117 days ago
[turbopack] Tree shake w/ `bar['foo']` syntax for star imports (#96319) This adds tree-shaking support for this syntax: ```javascript import * as ns from './lib'; ns["foo"] ``` Instead of expanding the usage to `All` for this one, we can restrict ourself to just "foo". See attached fixture.
Author
Parents
Loading