parallelize exports

This commit is contained in:
Rich Harris
2018-07-31 14:56:29 -04:00
parent e3ddbfc181
commit eae991d369

View File

@@ -118,9 +118,7 @@ async function execute(emitter: EventEmitter, {
}
});
for (const url of urls) {
await handle(url);
}
await Promise.all(urls.map(handle));
}
}
}