Bundle Size - CI/CD用語集の定義
bundle size は build された出力が出荷するバイト数で、読み込み時間に直接対応します。
bundle size は bundler が出力するファイルの合計バイト数で、多くの場合 raw と gzip の両方で測定されます。ページの読み込み時間に直接影響するため、チームは budget を設定し CI で追跡します。
bundle が小さいほど読み込みが速くなるため、チームは超過すると CI の build を失敗させるサイズ budget を課します。転送には raw よりも gzip 後のサイズが重要です。CIでは、size-limit や bundlesize のチェックが現在の build を閾値と比較します。
関連ガイド
Bundle Analysis - CI/CD Glossary DefinitionBundle Analysis: Bundle analysis is inspecting a build output to see which modules contribute to size, usuall…
Tree Shaking - CI/CD Glossary DefinitionTree Shaking: Tree shaking is a dead code elimination technique that removes exports never imported anywhere,…
Code Splitting - CI/CD Glossary DefinitionCode Splitting: Code splitting breaks a bundle into multiple smaller chunks that load on demand rather than a…