Angular CLI recently switched from SystemJS to Webpack. This affects the Heroku deployment process. Here I’ll show you how to initiate an Angular CLI/Webpack project and deploy it to Heroku. (By the way, this is an Angular-only post. I won’t be talking about Rails at all here.
Full article