Optionally only build packages in production