Angular 7 - How to separate files in different directories
It is not supported officially but you can use ,
--baseHref=baseHref Base url for the application being built.
--deployUrl=deployUrl URL where files will be deployed.
--outputPath=outputPath path for the new output directory
By combining them you can move the js/map/index.html files to specific location and update the baseHref and url in index.html.
More on,
https://github.com/angular/angular-cli/issues/10171