# O Que É um Limite de Importação Dinâmica?

> Um limite de importação dinâmica é o ponto onde um módulo é carregado de forma tardia com uma chamada de import, marcando onde um bundler pode separar um chunk sob demanda.

Source: https://latchkey.dev/pt/learn/ci-glossary/dynamic-import-boundary-definition  
Updated: 2026-06-26

## Por que isso importa

Esses limites são onde o carregamento tardio acontece, adiando código de telas raramente usadas até que seja necessário. Colocá-los bem reduz a carga inicial sem quebrar o fluxo do usuário.

## Where this shows up in a real pipeline

A definition is only useful if you can recognise the thing in your own logs. In practice this concept surfaces when a job behaves differently between a local run and a runner, which is where most CI debugging starts.

- Compare a local run against a CI run of the same command before assuming a tool is at fault.
- Runner environments differ in shell, PATH, TTY availability, available memory, and disk. Most CI-only behaviour traces to one of those five.
- Pin tool versions so an environment difference cannot be introduced by an unrelated update.

## FAQ

### What is What is a dynamic import Boundary??

A dynamic import boundary is the place where code uses an asynchronous import call instead of a static import, signaling that the target module can be fetched later. Bundlers treat each such call as a seam and emit a separate chunk for the imported code. The module then downloads only when execution actually reaches that call.

### Why does What is a dynamic import Boundary? matter in CI/CD?

These boundaries are where lazy loading happens, deferring code for rarely used screens until needed. Placing them well shrinks the initial payload without breaking the user flow.

---

Latchkey runs CI/CD that repairs its own failures. Agent entry points: https://latchkey.dev/agent.txt, https://latchkey.dev/openapi.json, https://latchkey.dev/llms.txt
