-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserneeds: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is needed
Milestone
Description
🐞 Bug report
Command (mark with an x)
- serve
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
- server the app
- go into
src/app/two/two.page.ts:14 - edit the file and save it
🔥 Exception or Error
Warning: Conflict: Multiple assets emit different content to the same filename 0.worker.js
Warning: Conflict: Multiple assets emit different content to the same filename 0.worker.js.map
🌍 Your Environment
Angular CLI: 11.0.3
Node: 14.15.1
OS: darwin x64
Angular: 11.0.3
... cli, common, compiler, compiler-cli, core, platform-browser
... platform-browser-dynamic, router, service-worker
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1100.3
@angular-devkit/build-angular 0.1100.3
@angular-devkit/core 11.0.3
@angular-devkit/schematics 11.0.3
@schematics/angular 11.0.3
@schematics/update 0.1100.3
rxjs 6.6.3
typescript 4.0.5
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserneeds: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is needed