How to analyze and reduce project building time? #84
Closed
timsofteng
started this conversation in
General
Replies: 1 comment 6 replies
-
You can run You can also do the same thing with the current beta version of Vite 4.1, we made some performance improvements for import resolutions. It will be cool to see if the difference is significative or not. If your project don't depend on some Babel specific option, you can try https://github.com/vitejs/vite-plugin-react-swc You can also get some insights with https://github.com/antfu/vite-plugin-inspect |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I'm trying to migrate from CRA to vite. It is typescript project.
When I start vite in development mode with this plugin the time printed in console is pretty low. It's around 1 second. But it takes about 20-30 seconds from starting dev server to moment when I see project on my screen.
How can I analize and reduce build time?
P.s prod build takes even much more.
Beta Was this translation helpful? Give feedback.
All reactions