klei/gulp-inject — pull request #4 by OverZealous (2014-01-16 00:46:06+00:00)
Title: Replaced path.basename with path.dirname to fix issue #3.

I think this should resolve the File.base issue.