fix dist build, add cssmin and uglify