トランスパイル - CI/CD用語集の定義
トランスパイル(source-to-source コンパイル)は、コードをある高レベル言語や言語バージョンから、同程度の抽象度の別のものへ変換します。例えば TypeScript から JavaScript、あるいは最新の JS から ES5 へなどです。
例
一般的なトランスパイラには tsc、Babel、SWC があります。これらは古い runtime やブラウザが実行できる JavaScript を出力します。
関連ガイド
Compilation - CI/CD Glossary DefinitionCompilation: Compilation is the process of translating source code into a lower-level form (machine code, byt…
Polyfill - CI/CD Glossary DefinitionPolyfill: A polyfill is code that implements a newer API on older runtimes that lack it, so the same source c…
Minification - CI/CD Glossary DefinitionMinification: Minification rewrites source (typically JavaScript or CSS) to be smaller without changing behav…