added check if minify config exists