Skip to content
Latchkey

Chunk - CI/CD Glossary Definition

A chunk is a single output file emitted by a bundler, grouping a set of modules.

A chunk is one of the output files a bundler produces when it splits code. Each chunk groups a set of modules, and the app loads chunks on demand or up front depending on how they were split.

Bundlers emit an entry chunk plus additional chunks created by code splitting and dynamic imports. A vendor chunk is a specialized case that isolates dependencies. In CI, bundle analysis reports the size of every chunk so you can catch regressions.

Related guides

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