grunt-usemin
grunt-usemin copied to clipboard
Fix revved regex to support extensionless paths
I have an anchor with href='/admin'. I also have a file 'admin.css' in my assets directory.
After running usemin
, it changed to '/admin.css' because revedRx regex in method RevvedFinder.prototype.getCandidatesFromFS
matches.
Why ? Because css extension starts with an hex character.
Added test and fixed build
:+1: awesome
@eddiemonge comments applied and branch rebased !