Modern build pipelines use bundlers (Vite/Rollup) for tree-shaking and bundling, ESLint for static analysis, and TypeScript/JSDoc for compile-time safety.
json
{
"scripts": { "build": "vite build", "lint": "eslint ." }
}100 XP to Apprentice
Vite, ESLint, Prettier, and Type safety.
AI translates the explanation and quiz text while preserving code and answer scoring.
Modern build pipelines use bundlers (Vite/Rollup) for tree-shaking and bundling, ESLint for static analysis, and TypeScript/JSDoc for compile-time safety.
json
{
"scripts": { "build": "vite build", "lint": "eslint ." }
}1. What is tree-shaking in modern bundlers?
2. Do TypeScript types provide runtime data validation on API responses?
3. What is the purpose of Prettier?