Assume, you have a custom event website on the Power Apps Portal and you have the customizable Angular version.
Open the project folder in Powershell.
Run Scripts/DeployToDynamics365Instance.ps1
in the folder:
You will see the process of building. It runs the simple ng build --prod --output-hashing
under the hood.