When I run .pipe(rename({ extname: '.php' }) in one of my gulp functions, I'm seeing it change to .html, not .php. If I try .php.html it works as expected by changing the file to an extension of .php.html. How can I get it to change the filename to an extension of .php?
When I run
.pipe(rename({ extname: '.php' })
in one of my gulp functions, I'm seeing it change to.html
, not.php
. If I try.php.html
it works as expected by changing the file to an extension of.php.html.
How can I get it to change the filename to an extension of.php
?