The option _htmlroot_ supported by gulp-uncss seems to be missing. It is required for proper processing of relative links to javascript code within the html files.