Skip to content

Conversation

unchai
Copy link
Contributor

@unchai unchai commented Jun 28, 2018

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

fixes #190

Breaking Changes

Additional Info

@jsf-clabot
Copy link

jsf-clabot commented Jun 28, 2018

CLA assistant check
All committers have signed the CLA.

@sokra
Copy link
Member

sokra commented Jun 28, 2018

A test case would be great

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add test and we can merge this 👍

@unchai
Copy link
Contributor Author

unchai commented Jun 28, 2018

@sokra @evilebottnawi
Okay~ I added test code.
And there was some problem webpack mode : 'none', so I fix again.

@sokra
Copy link
Member

sokra commented Jun 28, 2018

After a detailed look I think the original code isn't wrong. It's not incorrect that two chunks produce the same file. It the hash matches webpack should accept it.
So I'll fix webpack/webpack to accept duplicate emits when the hash matches. You can keep the PR open. Once fixed the test is still useful.

@unchai
Copy link
Contributor Author

unchai commented Jun 29, 2018

@sokra That's good either. :)

@alexander-akait alexander-akait merged commit 1023d22 into webpack:master Jun 29, 2018
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

Successfully merging this pull request may close these issues.

Conflict multiple asset error

4 participants