From 85dc5946cf000227cc608a275355e3ad18abe58b Mon Sep 17 00:00:00 2001 From: Youri Tomassen Date: Fri, 2 May 2025 15:54:37 +0200 Subject: [PATCH] perf(@angular/build): fix unnecessary esbuild rebuilds When using esbuild, Angular sets up a custom file watcher using esbuilds metafile inputs. Esbuild will generate entries see https://esbuild.github.io/try/#YgAwLjI1LjMALS1kZWZpbmU6Rk9PPSd7fScgLS1tZXRhZmlsZSAtLWJ1bmRsZQBlAGVudHJ5LmpzAGNvbnNvbGUubG9nKEZPTyk. After the build is finished, the file watcher will notice that the entries no longer exist on the file system and trigger a rebuild even though no files have changed. This change, fixes the above issue by filtering files starting with `