hparra / gulp-rename

Rename files easily
MIT License
692 stars 73 forks source link

Change extension to php? #70

Closed jklue closed 8 years ago

jklue commented 8 years ago

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?

jklue commented 8 years ago

Ah, moved rename after my .pipe(jade()) and it works!