Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #329 from sveltejs/parallel-exports
Browse files Browse the repository at this point in the history
parallelize exports
  • Loading branch information
Rich-Harris authored Jul 31, 2018
2 parents 7b7b695 + eae991d commit 4a75fff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ async function execute(emitter: EventEmitter, {
}
});

for (const url of urls) {
await handle(url);
}
await Promise.all(urls.map(handle));
}
}
}
Expand Down

0 comments on commit 4a75fff

Please sign in to comment.