adjust import regexes for uglify