Closed macmichael01 closed 4 years ago
Same problem here. I temporarely fixed it by using gulp-rename:
.pipe(rename(path => {
path.extname = '.extension';
}))
npm is not in sync with what is on github. Please bump npm version.
I'll see if I can do it this week
I'll see if I can do it this week
Have you tried to fix it? I have same problem.
I think this has been shipped for a while now ? 3.0.1 has it
I think this has been shipped for a while now ? 3.0.1 has it
Right, but it does not work. Process finish successfully, but files keep old extension.
Can you share maybe your current gulp file ?
Edit : it seems like current npm version doesn't have the fileExt options I will update it asap
I am trying to set
fileExt
to.email
but the files are still getting output as.html
After digging through the code, I found that this line is reflecting a different value. Instead, what I am seeing is:output.path = replaceExt(file.path.toString(), ".html");
Has the npm package been updated to reflect the latest changes?