All quizzes
Free quiz · 20 questions in the bank

Babel quiz

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

Question 1/5Score 0

What is a "Babel plugin order" gotcha to be aware of when configuring multiple plugins?

Questions in this quiz
  1. What is a "Babel plugin order" gotcha to be aware of when configuring multiple plugins?
  2. What is `@babel/plugin-transform-runtime` used for, and how does it differ from just using `@babel/polyfill` (or core-js directly) globally?
  3. What is a Babel "plugin"?
  4. Why might a modern project using Vite, esbuild, or SWC choose not to use Babel at all for its build pipeline?
  5. What is `@babel/parser` (formerly known as Babylon)?
  6. What is `@babel/preset-react` used for?
  7. What is a Babel "macro" (e.g. via `babel-plugin-macros`)?
  8. What does `@babel/preset-typescript` do?
  9. What is the difference between a `.babelrc` file and a `babel.config.js` (or `.json`) file?
  10. What does `@babel/preset-env` do?
  11. What is Babel's AST (Abstract Syntax Tree) role in the transformation process?
  12. Why does using the "automatic" JSX runtime (`@babel/preset-react` with `runtime: "automatic"`) mean you no longer need to write `import React from "react"` in every JSX file?
Gaps to close?
Read the curated Babel notes — core concepts, patterns, interview prep.
Babel notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web