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

ModuleConcatenationPlugin produces a bundle with mixin name collisions #11840

Closed
bmblb opened this issue Oct 27, 2020 · 0 comments · Fixed by #11900
Closed

ModuleConcatenationPlugin produces a bundle with mixin name collisions #11840

bmblb opened this issue Oct 27, 2020 · 0 comments · Fixed by #11900

Comments

@bmblb
Copy link

bmblb commented Oct 27, 2020

Bug report

What is the current behavior?

When building JS application with mixins I get exception because of mixin name collision.

If the current behavior is a bug, please provide the steps to reproduce.

To reproduce please refer to this repository which contains simple and complete test case: https://github.com/bmblb/ModuleConcatenationPluginNameCollision
Just checkout repo, install packages, run npm run serve and check out app page (see README.md)

What is the expected behavior?

I expect no naming collision to occur, probably plugin could use unique generated name. I found a similar issue, but problem is still reproducible with latest version on webpack: #11743
As a workaround I had to disable plugin in production config, but docs suggest performance will suffer, so it would be great to get this fixed.

Cheers.

Other relevant information:
webpack version: 5.3.0
Node.js version: 12.19.0
Operating System: Windows 10 2004
Additional tools:

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

Successfully merging a pull request may close this issue.

2 participants