After updating Angular to version 17 with esbuild, a hash is added to the chunk name.
The problem is that if you want to use lazy loading for Angular-elements, then in development mode a hash will be added for each chunk.
I cannot use the script directly in HTML, since the name changes after component update.
The question is how can I remove the hash from the names of chunks?
// before update
<script src="https://localhost:4200/src_components_test_test_component_ts.js" type="module"></script>
// after
<script src="https://localhost:4200/test-[hash].js" type="module"></script>
On stackblitz now default container with esbuild example
I try use NamedChunk options, but in code esbuilders config hash is part of naming EsBuilder naming