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

Terser in Vite

What does the drop_console: true option in terserOptions do?

Answer options

  • Removes all console files from the project
  • Disables the browser console in production
  • Automatically removes all console.log calls from the production code
  • Redirects logs to a file instead of the console

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