Make sure you remove any of the dependencies that you don't plan to use as that will reduce the build size.
The dependencies are listed in the package.json file. Between Next.js and Vite, there are some differences in the dependencies. Also, between the JavaScript and TypeScript versions, there are some differences in the dependencies.