webpack-md5-hash icon indicating copy to clipboard operation
webpack-md5-hash copied to clipboard

hash changes on different machines?

Open malliapi opened this issue 6 years ago • 1 comments

our builds are on circleci and generate sourcemaps that then upload to rollbar.com, the issue is that when heroku rebuilds the package, we get a different hash! therefore they cant be matched. an obvious workaround i sto upload the sourcemapss from heroku or not rebuild there, but i'm wondering why this is the case?

malliapi avatar Jan 15 '19 01:01 malliapi

This plugin sorts the files based on their paths, then joins them and then generates the hash. So if the path is different from build to build the hashes will be different. At least this was the case in my webpack + angular app build.

mkonars avatar May 07 '20 09:05 mkonars