Images optimization when compile production added.