Question · Vue.js course · Module 12: Testing & Deploy

Bundle optimization

How does Vite automatically optimize bundle size?

Answer options

  • Through tree shaking, minification, and code splitting with dynamic imports
  • By compressing all files into a single ZIP
  • Vite does not optimize - you need an external tool
  • By removing all comments from the code

You can check the correct answer by solving this task in the CodeWorlds game.