Files
Sam PoderandGitHub fec0a517fc [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.
2026-07-29 10:42:08 -07:00
..
…

turbopack-tests

An extracted crate to perform snapshot tests on turbopack.

Testing

It's possible to only run the snapshot tests using nextest's filter expressions:

cargo nextest run -E 'test(snapshot)'

The filter supports any substring, and only test names which contain that substring will run.

Updating Snapshot

If you've made a change that requires many snapshot updates, you can automatically update all outputs using the UPDATE command line env:

UPDATE=1 cargo nextest run -E 'test(snapshot)'