Fix #12886. Fix map file reference in .min.js file.

Cherry picked from e348b4060848b46a6c4376661c093e0f0a3ef9e7 .