Merge pull request #329 from sveltejs/parallel-exports

parallelize exports
This commit is contained in:
Rich Harris
2018-07-31 15:05:38 -04:00
committed by GitHub

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));
}
}
}