Skip to content
Latchkey

Module Resolution - CI/CD Glossary Definition

Module resolution turns an import string into the real file the bundler should load.

Module resolution is the process a bundler or runtime uses to turn an import specifier (like ./util or lodash) into an actual file path. Rules cover extensions, index files, node_modules lookup, and aliases.

Resolution applies configurable rules: try extensions, look in node_modules, honor aliases and the package exports field. A resolution failure produces the classic "Module not found" build error. In CI, these errors surface early and fail the build stage.

Related guides

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