What, it doesn't make sense, how does it improve performance by 10x , it's just bundling tool isn't it? If u run it prod it's same bundle u r shipping when u does with other tools i.e webpack.
The speed boost comes from Vite doing development in unbundled mode, using ESM only. So no need to use a bundler to produce a bundle when developing. You only need to bundle for production, where it currently uses Rollup, and will switch to esbuild when it becomes mature.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What, it doesn't make sense, how does it improve performance by 10x , it's just bundling tool isn't it? If u run it prod it's same bundle u r shipping when u does with other tools i.e webpack.
I really know what you mean but you should read this: vitejs.dev/guide/why.html
That is the important part it seems, but there's also other useful and interesting info there to read :)
The speed boost comes from Vite doing development in unbundled mode, using ESM only. So no need to use a bundler to produce a bundle when developing. You only need to bundle for production, where it currently uses Rollup, and will switch to esbuild when it becomes mature.