Opened 7 years ago
Closed 7 years ago
#17456 closed defect (fixed)
Multiple resources are destined for same filename errors
Reported by: | chuckd | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.10 |
Component: | BuildSystem | Version: | 1.9.1 |
Keywords: | Cc: | Clement Mathieu | |
Blocked By: | Blocking: |
Description
These are reported when using aliasing in the build profile to map plugin modules to dojo/text because they delegate to dojo/text at runtime. In this case, the indicated error is reported because dojo/text is mapped multiple times. In this case, the error should be suppressed if the source resources in conflict are identical.
The attached patch resolves this problem
Attachments (2)
Change History (10)
Changed 7 years ago by
Attachment: | main.js.patch added |
---|
comment:1 Changed 7 years ago by
comment:4 Changed 7 years ago by
Owner: | set to Rawld Gill |
---|---|
Status: | new → assigned |
comment:5 Changed 7 years ago by
Milestone: | tbd → 1.10 |
---|
comment:6 Changed 7 years ago by
Cc: | Clement Mathieu added |
---|
comment:7 Changed 7 years ago by
I attached a test case to demonstrate the problem. Dojo and util should be siblings of app and vendor directory.
I think the proposed patch make sense and since this patch is only cosmetic it should not cause any problem.
comment:8 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Chuckd, please submit patches as documented in https://github.com/dojo/dojo/blob/master/CONTRIBUTING.md, thanks.