remove text and dev files from slug