grunt-usemin icon indicating copy to clipboard operation
grunt-usemin copied to clipboard

Fix revved regex to support extensionless paths

Open bbaia opened this issue 9 years ago • 3 comments

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.

bbaia avatar Jul 09 '15 09:07 bbaia

Added test and fixed build

bbaia avatar Jul 14 '15 09:07 bbaia

:+1: awesome

mrtnjln avatar Jul 21 '15 13:07 mrtnjln

@eddiemonge comments applied and branch rebased !

bbaia avatar Apr 18 '16 21:04 bbaia