Closed fhurta closed 10 years ago
You need to trigger the mechanism only when Grunt's Source-Destination Mappings have been used.
The only place to know this has happened is at the point i showed you in #45
Every file under the /lib folder is decoupled from Grunt logic and thus nothing there should be touched...
oh, I see it now (I did bad assumption the dest in libCompiler.js is defined only for mapping entries) I will fix it and submit another PR
v0.8.5 is now on NPM :)
Thank you @fhurta !
Added the possibility to create dest-filename-based source map file for file mappings where the dest is specified. Regarding the tests - not sure how to extend the current test case. Please review and add the test if needed.