Dev/Prod Builds, Source Maps, Envs
Understand dev vs prod builds, what source maps are for, and how env values guide behavior (e.g., API URL, debug).
Why builds, maps, envs?
Goal: Know the difference between development and production builds, the role of source maps, and basic env usage.
- Dev: fast feedback, verbose
- Prod: optimized, quiet
- Source maps: debug original code
Snapshot of terms
- Dev build: HMR/hot reload, clear errors
- Prod build: minified, dead-code removed
- Source map: link minified output to sources
- Env: configure API URL, flags
All lessons in this course
- Dev/Prod Builds, Source Maps, Envs
- Bundle Analysis & Trimming Unused Code
- Basic CI: Lint → Test → Build