ミニファイ - CI/CD用語集の定義
ミニファイは、動作を変えずにソース(通常はJavaScriptやCSS)をより小さく書き換える処理で、空白やコメントを取り除き、ローカル識別子を短縮します。
CIでは
ミニファイは本番buildのステップで実行されます。Terserやesbuildといったツールはデッドコードも削除するため、ミニファイされた出力は配信サイズが小さく、ダウンロードも速くなります。
関連ガイド
Bundling - CI/CD Glossary DefinitionBundling: Bundling combines many source modules and their dependencies into a smaller number of output files,…
Source Map - CI/CD Glossary DefinitionSource Map: A source map is a file that maps positions in compiled, minified, or bundled output back to the o…
Tree Shaking - CI/CD Glossary DefinitionTree Shaking: Tree shaking is a build optimization that removes exports and modules that are never imported a…