Question: What might you use webpack for?

  1. to fetch remote dependencies used by your app
  2. to split your app into smaller chunks that can be more easily loaded by the browser
  3. to format your code so that it is more readable
  4. to ensure your app is not vulnerable to code injection

Answer: The correct answer of the above question is Option B:to split your app into smaller chunks that can be more easily loaded by the browser