Turbopack: defer sourcemaps processing to codegen (#78855)
Closes PACK-3434
```
// TODO This is too eagerly generating the source map. We should store a GenerateSourceMap
// instead and only actually generate the SourceMap when it's needed. This would allow to avoid
// generating the source map when a module is never included in the final bundle. It allows
// analysis to finish earlier which makes references available earlier which benefits
// parallelism. When SourceMaps are emitted it moves that generation work to the code generation
// phase which is more parallelizable.
```
Showing
Please
register
or
sign in
to comment