VuePress has been using Webpack as the bundler to dev and build sites. Since VuePress v2, other bundlers are also supported, and now we are using Vite as the default bundler. Of course, you can still choose to use Webpack.
Choose a Bundler
When using the vuepress package, Vite bundler is installed and used automatically.
If you want to use Webpack bundler instead, you can switch to vuepress-webpack package:
yarn remove vuepress yarn add -D vuepress-webpack@next
npm uninstall vuepress npm install -D vuepress-webpack@next
Generally, you could use a bundler without extra configuration, because we have already configured them properly to work with VuePress.