SpinTheMic
Pro

Interview practice question

A bug only appears in the production build

Frontend Engineering · Testing and Tooling · Intermediate

A bug appears only in the production build, not in development. How would you investigate?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Differences: minification, env vars, tree shaking, StrictMode.
  • Run production build locally (preview).
  • Source maps for debugging.
  • Check side-effect assumptions, dead-code elimination.
  • Add test against built output.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics