Skip to content

Commit

Permalink
fix rn59 android source maps (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib authored and jhen0409 committed Apr 27, 2019
1 parent d6e5534 commit c9c4942
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app/middlewares/delta/DeltaPatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,13 @@ export default class DeltaPatcher {
Array.from(this._lastBundle.modules.values()),
Array.from(this._lastBundle.post.values())
)
: [].concat([this._lastBundle.pre], Array.from(this._lastBundle.modules.values()), [
this._lastBundle.post,
]);
: [].concat(
[this._lastBundle.pre],
Array.from(this._lastBundle.modules.entries())
.sort(([id1], [id2]) => id1 - id2)
// eslint-disable-next-line no-unused-vars
.map(([id, contents]) => contents),
[this._lastBundle.post]);
}

getSizeOfAllModules() {
Expand Down

0 comments on commit c9c4942

Please sign in to comment.