Add source maps
Fixes https://github.com/facebook/react/issues/20186
Summary
Attempts to get sourcemaps working.
Status:
- only the
renderChunkis commented out for now as I had to give up with that one - Sourcemap generation is slow on the prettier plugin. Maybe sourcemaps aren't needed if we're generating "pretty" views anyway? We should disable this if
shouldStayReadableis true.
This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated.
not stale
It looks like the work done in the following PR is likely to supercede and replace this PR:
- https://github.com/facebook/react/pull/26446
Since the above PR (https://github.com/facebook/react/pull/26446) has been merged, this PR is now obsolete, and can probably be closed out.