Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small optimization to avoid serializing runtime source unnecessarily
For source that have source maps, the original source is retrieved using the source map. We only fall back to parsing the full source code is when there's no source map. The source is (potentially) very large, so we can avoid the overhead of serializing it unnecessarily to share it with the worker in this case.
- Loading branch information