Add Source Map support to e2e deltas in chrome debugger
Reviewed By: jeanlauliac Differential Revision: D5917380 fbshipit-source-id: 31391bc03c420b8e7af5c840fbea2fb0dd5f7bbc
This commit is contained in:
parent
ace7273538
commit
15130d5fa2
|
@ -49,7 +49,11 @@
|
|||
URL.revokeObjectURL(cachedBundle.url);
|
||||
}
|
||||
|
||||
const blobContent = deltaPatcher.getAllModules();
|
||||
// To make Source Maps work correctly, we need to add a newline between
|
||||
// modules.
|
||||
const blobContent = deltaPatcher
|
||||
.getAllModules()
|
||||
.map(module => module + '\n');
|
||||
|
||||
// Build the blob with the whole JS bundle.
|
||||
const blob = new Blob(blobContent, {
|
||||
|
|
Loading…
Reference in New Issue