Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
First of all, let's start with what Vite does. Vite is responsible for building a development environment and building a production environment. The development environment is built using esbuild, which is developed in Go language(Go is very fast) On the other hand, the build command for the production environment uses Rollup. The reason why the tools used for building the development environment and the build command for the production environment are different is that although esbuild is super fast, some important functions required for bundling applications are still under development, so Rollup, which is the best solution at this point, is used. (See: https://vitejs.dev/guide/why.html#the-problems)