[fix]widget build dir && static url replace