plop icon indicating copy to clipboard operation
plop copied to clipboard

fix: stripExtensions doesn't work with dot files

Open crutchcorn opened this issue 2 years ago • 1 comments

This PR was originally made by @rwacarter in the node-plop dedicated repo and moved over by hand to me: https://github.com/plopjs/node-plop/pull/192

Fixes the issue I mentioned in plopjs/plop#324, where Handlebars templates without file extensions (e.g. .babelrc, .prettierrc, etc) do not have the .hbs extension removed.

crutchcorn avatar Apr 25 '22 23:04 crutchcorn

👀

giancarlosisasi avatar May 17 '22 16:05 giancarlosisasi