Why would gulp-htmlmin automatically pack my css less js files?

/ / compress html
gulp.task ("html", function () {

)
var options = {  
    removeComments: true,                 //HTML  
    collapseWhitespace: true,             //HTML  
    removeScriptTypeAttributes: true,     //<script>type="text/javascript"  
    removeStyleLinkTypeAttributes: true   //<style><link>type="text/css" 
}
return gulp.src(["src/views/*.html", "!src/css/*.*", "!src/js/*.*"])
        //    .pipe(changed("dist", {hasChanged: changed.compareSha1Digest}))
           .pipe(useref())
           .pipe(htmlMin(options))
           .pipe(gulp.dest("dist/views"))
           .pipe(browserSync.reload({stream:true}))

})

I will only execute the above code, but will automatically package and compress my js less css file, but I just want him to compress my html

.
Mar.05,2021
Menu