sindresorhus / gulp-rev

Static asset revisioning by appending content hash to filenames: `unicorn.css` → `unicorn-d41d8cd98f.css`
MIT License
1.54k stars 218 forks source link

Why same md5 file has different hash version? #178

Closed iuphero closed 8 years ago

iuphero commented 8 years ago

Hello developers, I deploy my app in different two host, and gulp generate two app.js file, but the same two js file generate different hash version.... However the same two css file generate same hash version. Why was that?

sindresorhus commented 8 years ago

That might be the case if those two hosts have different Node.js versions, as there was a change in the Buffer implementation at some point.

Might also be a case of https://github.com/sindresorhus/gulp-rev/issues/147.

iuphero commented 8 years ago

@sindresorhus Thank you