Closed mxp131011 closed 1 year ago
I'm not able to reproduce on M1. Maybe a Windows-only issue? Could you update the description? It looks like the numbers are inverted. It would be helpful if you could trim the reproduction to the minimal form where you see the perf difference so it is easier for others to debug.
I was able to reproduce on Windows. It seems it's happening from 3.2.0-beta.0.
Has the problem not been fixed yet
Seems to be caused by https://github.com/vitejs/vite/pull/10314
Closing as this seems to be fixed in main.
dep bundling time: 3.1.8: 1862ms + 1157ms 3.2.0: 6971ms + 1865ms 4.2.1: 10357ms + 2761ms main: 535ms + 394ms
Describe the bug
vite3.1.8 first ’vite dev’ only requires 25s, vite3.2.0-beta.1 first ’vite dev‘ requires 19s, vite3.2.0 first ’vite dev’ requires 13s
Reproduction
https://github.com/mxp131011/test
Steps to reproduce
Change the version numbers of 'vite' and '@vitejs/plugin-vue'
System Info
Used Package Manager
pnpm
Logs
No response
Validations