Code Splitting - CI/CD Glossary Definition
Code splitting divides your bundle into chunks so users download only the code they need for the current view.
Code splitting breaks a bundle into multiple smaller chunks that load on demand rather than all at once, improving initial load time. It is commonly triggered by dynamic imports or route boundaries.
Instead of one large bundle, code splitting emits several chunks that the app fetches lazily. It reduces the initial payload and speeds up first render. In CI, bundle analysis can verify that splitting keeps each chunk under a size budget.
Related guides
Dynamic Import - CI/CD Glossary DefinitionDynamic Import: A dynamic import is the `import()` expression that loads a module at runtime and returns a pr…
Chunk - CI/CD Glossary DefinitionChunk: A chunk is one of the output files a bundler produces when it splits code. Each chunk groups a set of…
Lazy Loading - CI/CD Glossary DefinitionLazy Loading: Lazy loading defers loading a resource or module until it is actually needed, rather than at in…