3 ms·
The purpose of vite is not to be fast for build, but to be a live reload instant dev platform. So you almost never run build. You code with vite's server, and i
by BiteCode_dev 5y ago
The purpose of vite is not to be fast for build, but to be a live reload instant dev platform. So you almost never run build. You code with vite's server, and it let you see the result instantly in the browser. You can use modules, modern js, and transpiled languages transparently.
Then when you put in prod, you build once. 30s once a day doesn't matter.
- 3np 5y agoIt does matter in a CI environment. Using a different build procedure there is not optimal.
- BiteCode_dev 5y agoOptimal != Best for most people.
- 3np 5y agoBest for most people != Best for everyone I mean, notepad.exe is arguably a better text editor for most people compared to anything else most of us are using. I'll happily take some minor overhead in build configuration over adding 30s+ to every automated build if it's not a personal or small-scale community project.