概要 元サイトの許諾を得て翻訳・公開いたします。 英語記事: Tune up your esbuild config with plugins and cleanup your assets directory | Arkency Blog 原文公開日: 2022/09/05 原著者: Jakub Kosiński サイト: Arkency Blog 本記事は以下の記事の続きです。 Rails: Webpackをesbuildに移行してJSのビルドを縮小・高速化(翻訳) 前回の記事では、巨大なJavaScriptプロジェクトをWebpackからesbuildに移行する話を書きました。その際、app/assets/builds/ディレクトリに従来のビルドの古いファイルが残っているため移行の最適化が不十分であるという点に触れました。 これは、ハッシュ形式のchunk namesを用いるspli