add support of usemin.