I think the easier solution is to adjust the configuration so it looks for the files in the proper place, it is not finding in the files in the www directory so it is not compiling the ts files or properly moving the sass files to the build directory.
I have updated my configuration files so that the build is working fine without moving directories or changes paths for html files.
see changes in ionic.config.js
, webpack.config.js
& tsconfig.json