Skip to content
Latchkey

Polyfill - CI/CD Glossary Definition

A polyfill is code that implements a newer API on older runtimes that lack it, so the same source can run on environments that do not natively support the feature.

Versus shim

A polyfill provides a feature that should already exist per a standard; a shim more broadly intercepts or adapts an API. Tools like core-js supply browser polyfills during the build.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →