Dependencies not pre-bundled in batch, multiple reloads and errors when upgrading from 2.9.0 beta0 to 2.9.0 beta2 #7333
Labels
p3-downstream-blocker
Blocking the downstream ecosystem to work properly (priority)
Describe the bug
2.9.0 beta0 made pre-bundling quicker and limited the number of browser reloads when Vite discovers new dependencies. However; 2.9.0 beta2 is not as good at batching, does again multiple reloads and also throws errors (although non-critical, the build still finishes).
Correct behavior (2.9.0-beta.0)
In the side navigation click on
Data Table > Add Remove Columns
. Vite is able to pre-bundle all deps in one pass and reloads browser once. Output log:Reproduction (2.9.0-beta.2)
Add
"vite": "2.9.0-beta.2"
intopackage.json > resolutions
Go to
Data Table > Add Remove Columns
. Vite does multiple reloads and throws errors. Output log:Reproduction
https://github.com/uber/baseweb
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: