ポリフィル - CI/CD用語集の定義
ポリフィルは、新しいAPIを持たない古いruntime上でそれを実装するコードであり、その機能をネイティブにサポートしない環境でも同じソースを動かせるようにします。
shimとの違い
ポリフィルは、標準に従えば本来すでに存在するはずの機能を提供します。shimはより広く、APIをインターセプトしたり適応させたりします。core-jsのようなツールはbuild時にbrowser向けのポリフィルを供給します。
関連ガイド
Shim - CI/CD Glossary DefinitionShim: A shim is a small compatibility layer that intercepts calls and adapts them, for example translating a…
Transpilation - CI/CD Glossary DefinitionTranspilation: Transpilation (source-to-source compilation) translates code from one high-level language or l…
Bundling - CI/CD Glossary DefinitionBundling: Bundling combines many source modules and their dependencies into a smaller number of output files,…