Old/stale bundles/chunks not being cleaned from build dirs for ionic 4/Angular

Hey!

I’ve noticed plenty of repeated bundle/chunk files from subsequent builds like

./www/main.8eb37ad3f0cdfc556e80.js
./www/main.3ecde082547bf6b052b3.js
./www/main.9e248ecfc5fe6b65f9af.js
./www/main.f13e366f02a949667796.js
./www/main.41c3a63018ba24018d1b.js
./www/main.7e7182c8e98d9af4d06e.js

it can be even over 20 x hundreds of chunks - then also there is 2-3 directories per platform which makes magnitude of 1GB of data in total. Also building non prod non release app makes all the files into the builded artifact. Also I haven’t seen any kind of clean task nor its mentioned anywhere in the docs.

I know this concerns Angular build process still I am confused how/when I should consider cleaning all the build folders.

ping :slight_smile: no one dealing with cleanup of stale build bundle files?