Fix deploy minification, and image copying for dev and deploy.