after running ng build --prod I can go into my index.html file in the newly created dist folder and add the async attribute to the bun
ng build --prod
index.html
async
I'm afraid its not possible with the CLI as of now. See https://github.com/angular/angular-cli/issues/3323 for a discussion on the topic.