Production Build JavaScript Subdirectory

Ionic generates numerous JavaScript files in the www directory when I create a production build. Is there any easy way to put the JavaScript files in a www subdirectory and change all required references to these files? This would make it a lot cleaner when I deploy an app as a PWA and not bloat the top-level directory.
If there is no easy way, an additional option when running “ionic build --prod” would be useful.

Perhaps you will find information useful to your quest in here.

I don’t see anything that looks appropriate. Do you?

The base href stuff.