gulpjs / rechoir

Prepare a node environment to require files with different extensions.
MIT License
48 stars 12 forks source link

path.extname fails on .coffee.md #4

Closed silkentrance closed 9 years ago

silkentrance commented 9 years ago

path.extname('file.coffee.md') will only return '.md'.

It is better to use a custom regular expression instead. I will make a PR for this.