Skip to content
Latchkey

Minification - CI/CD Glossary Definition

Minification strips nonfunctional characters from code to shrink download size.

Minification removes whitespace, comments, and unnecessary characters from code without changing behavior, producing smaller files. Tools like Terser and esbuild minify JavaScript during production builds.

Minification is a size optimization applied during production builds. It preserves behavior while cutting bytes, and it pairs with source maps so stack traces remain readable. In CI, minification runs only in the production build, not the development build.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →