Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When we have multiple workers, the config cannot be used as web map key since the config can mutate. Since we're not in a multi-thread environment we can use a fixed key to store the promise of the current worker build. You can use the reproduction provided in vitejs#13367 , when building the third worker, there is a pending promise since the config changes and there is no way to delete it and then the error.
- Loading branch information