rebuild public, dist