Bundler - CI/CD用語集の定義
bundler はソースモジュールをブラウザ対応の出力ファイルにマージし、通常は CI の build ステップとして実行されます。
bundler は、多数のソースモジュールとその依存関係を、ブラウザが効率的にロードできるより少数の出力ファイルにまとめる build ツールです。一般的な bundler には webpack、Rollup、esbuild、Vite があります。
フロントエンドプロジェクトは多数の小さなモジュールとして書かれますが、ブラウザはより少数の最適化されたファイルを最もうまくロードします。bundler は依存関係グラフを解決し、それらのファイルを出力します。CI では bundler は build ステージで実行され、その exit code が pipeline を継続するかどうかを決定します。
関連ガイド
Module Bundler - CI/CD Glossary DefinitionModule Bundler: A module bundler is a bundler that understands module systems (ES modules, CommonJS) and stit…
Entry Point - CI/CD Glossary DefinitionEntry Point: An entry point is the file a bundler starts from when building the dependency graph. Each entry…
Bundle Size - CI/CD Glossary DefinitionBundle Size: Bundle size is the total byte count of the files a bundler emits, often measured both raw and gz…