Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebpackMd5Hash causes polyfills to have the same name but different content #649

Closed
saldoukhov opened this issue Jun 3, 2016 · 2 comments

Comments

@saldoukhov
Copy link

  • I'm submitting a ...
    [ X] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository

This is quite easy to reproduce.

  1. Do a prod build on master
  2. Copy aside polyfills bundle
  3. Switch to material2 branch
  4. Do a prod build
  5. Compare the polyfills bundle to the one from step 2
    6(optional). Repeat the above steps with WebpackMd5Hash commented out, the problem goes away.

Result: two files have the same name but different content
Expected: two files have different names

@davidmarquis
Copy link

davidmarquis commented Aug 2, 2016

I experienced the same issue. Removing the use of WebpackMd5Hash (and thus using the standard hashing mechanism of Webpack) removed the issue... why is WebpackMd5Hash used exactly?

@riddla
Copy link

riddla commented Oct 25, 2016

We experienced the same issue just today. Removing the plugin "fixed" it, but why was this bug closed?
The webpack-md5-hash plugin seems to have some serious issues: erm0l0v/webpack-md5-hash#7 and erm0l0v/webpack-md5-hash#5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants