fix(minify) Folder could be undefined