clean and minify buildir