-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Warning: Conflict: Multiple assets emit different content to the same filename 0.worker.js #19569
Comments
This is probably due to Webpack 5 usage, which now includes worker bundling and it also requires a different syntax. |
I am not using webpack 5. It's just in the repo to test against it. That is why npm is used here in conjunction with npm-force-resolution. |
I was able to solve this issue by adding a name to |
I am on holiday now but will test it in January. Thank you for the hint. Anyway I think Angular should be smart enough ^^ |
Hasn't the issue been resolved GoogleChromeLabs/worker-plugin#35 ? |
@destus90 seems like in v3, maybe it got changed later again? |
Using a name fixed it for me. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
No
Description
I have two independent modules which have both their own workers. Now when I serve my app and edit any file inside one module tree it prints
Multiple assets emit different content to the same filename 0.worker.js
.🔬 Minimal Reproduction
src/app/two/two.page.ts:14
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
I am using
observable-webworker
lib to be able to use Observables with workers but also tested without the lib and the error still persist.The text was updated successfully, but these errors were encountered: