compile dist files