[fix] do not minify scripts with no type