How to automatically convert < link href='./a.scss' > in html to < link href='./a.css' > using gulp,

how to use gulp, to automatically convert < link href="./a.scss" > in html to < link href="./a.css" >

gulp version: 3.9.1

main plug-ins used:

"gulp-sass": "^3.1.0",  
"gulp-rev-append": "^0.1.8",

related codes

html under src

     <link rel="stylesheet" href="./css/test2.scss?rev=@@hash">

generated html

     <link rel="stylesheet" href="./css/test2.scss?rev=999cc1e1f3ee1a3ede69ca120243e8bb"> 

in fact, the result I expect should be

    <link rel="stylesheet" href="./css/test2.css?rev=999cc1e1f3ee1a3ede69ca120243e8bb"> 
In

link, if css can find the correct file after processing,
but directly introduce .css into the link of the source html, then the hash value addition function is invalid and will be output as is

.

has anyone ever solved this problem

Mar.28,2021

well, why do you point to scss? in href in link? Can't you just write css?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c4b0-2c308.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c4b0-2c308.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?