feature(minify) change file ext first, read file after