[turbopack] Fix component chunks for workers (#96432)
#95261 began to set `module_chunks` on browser chunks so that we can
track components this meant that chunks stopped always being plain path
strings:
```rust
if included.is_empty() && excluded.is_empty() && module_chunks.is_empty() {
return EcmascriptChunkData::Simple(path); // bare string
}
EcmascriptChunkData::WithRuntimeInfo { .. } // object
```
This broke workers when I was testing on `vercel/front`.
Showing
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment