fix(minify) optimie makeDir: add callback