angular production build question

Does anyone know how to setup so when index.html is updated with generated files like .js and .css the files location is pointing to CDN?
I know I can edit it manually, it would be nice to have config option.
Thanks.
I know I can edit it manually, it would be nice to have config option.
Thanks.