Since it applies to all of frontend, I think it makes more sense to have it here instead of src (cherry picked from commit e12c679cd8961ec9d2ef744761303831b81e64fb)