fix(minify) optimize isExist: error always null