In version 0.6.0, source filenames get truncated after the first period/dot
MartinSnyder opened this issue · 3 comments
MartinSnyder commented
I hope to submit a patch for this after investigation, but I'm not going to get to it tonight.
I just tried to upgrade, and had to revert to the 0.5.x version. I have JavaScript files with names like:
require-0.2.9.1.js, and when the grunt-react 0.6.0 processes that file, it renames it to require-0.js
jacomyal commented
Just met the same issue in v0.8.2.
jacomyal commented
OK, it comes from Grunt file API: http://gruntjs.com/api/grunt.file#grunt.file.expandmapping
So basically, adding extDot: 'last'
in the configuration object solves the issue.
MartinSnyder commented
Thanks! Nice find.