All quizzes
Free quiz · 50 questions in the bank

Webpack quiz

Test your Webpack knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What does `npm run build` typically do in a webpack project?

Questions in this quiz
  1. What does `npm run build` typically do in a webpack project?
  2. What is webpack?
  3. What is `splitChunks`?
  4. What does `mode: "production"` enable by default?
  5. Which devtool option produces good source maps for production?
  6. Which built-in module-asset type replaces `file-loader` and `url-loader` since webpack 5?
  7. What does `resolve.alias` do?
  8. What does `output.publicPath` do?
  9. A new build emits the same filenames despite content changes. Why?
  10. Which command analyzes the size of a webpack bundle?
  11. `HtmlWebpackPlugin` is used for:
  12. What is "tree shaking"?
Gaps to close?
Read the curated Webpack notes — core concepts, patterns, interview prep.
Webpack notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web