moving compress step into the dist only build