You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running gulp-rev on a directory which contains javascript files with associated .map files, revisioned files assign different hash to .map files thus disconnecting them from the associated source files.
Looking at the code I see that you attempt to extract source file from source map, which in most cases would be relative where pathMap hash uses absolute paths. This causes a mismatch of .map to its related source.
Description
After running
gulp-rev
on a directory which contains javascript files with associated.map
files, revisioned files assign different hash to.map
files thus disconnecting them from the associated source files.Ex. app.js + app.js.map -> rev -> app-87c01c72f1.js + app-f385539b69.js.map
Steps to reproduce
Run gulp rev on a directory which contains source + map files.
The text was updated successfully, but these errors were encountered: