[Vuejs]-What package versions are installed when running vite build?

0👍

First thing first, vite build won’t change anything to your dependencies. I won’t install ones nor update them. It will only build your project (i.e. compile / transpile / minify / bundle etc.) using your source code and the code it imports (likely within the node_modules).

It will build locally, so using your local dependencies in the node_modules folder.


To check the current package version you have installed, you can run:

npm list --depth=0 | grep foobar

(The grep part is optional)

You can also open your package-lock.json or yarn.lock file and search for your package to know to what version your package has been fixed to.

To understand about the semantic version with npm, read this documentation: https://docs.npmjs.com/about-semantic-versioning

Leave a comment