(15.11) Change logic of input and output targets of post-processing scripts
Cherry pick !3791 (merged) into 15.11, so that we can properly use minify
again.
We only need to pick this into 15.11, as this bug was introduced in !3708 (merged).
Cherry pick !3791 (merged) into 15.11, so that we can properly use minify
again.
We only need to pick this into 15.11, as this bug was introduced in !3708 (merged).