You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resources with same name but different plugins fail to load #765
I'm using the cs and hbr plugins (although I don't think this is caused by these specific plugins).
When I depend on two resources with the same name but with different plugins like this: cs!mainview and hbr!mainview, both have their plugin's load function called, but one of these resources isn't actually seen as being loaded and will cause require() to eventually time out.
I'm speculating this is due to load calling parentRequire with [name], which for both resources is ['mainview'].
Workaround: when I rename these resources so that their name without plugin is unique, both resources load correctly.
Ah yes, I believe the root cause is #638. This is a weakness right now, and this is a great example of why that needs to be fixed. I am going to close this as a duplicate, but mention the use case in that ticket to highlight its importance. Leave a comment in that ticket if you want to track when it is fixed.
Activity
jrburke commentedon Jun 11, 2013
Ah yes, I believe the root cause is #638. This is a weakness right now, and this is a great example of why that needs to be fixed. I am going to close this as a duplicate, but mention the use case in that ticket to highlight its importance. Leave a comment in that ticket if you want to track when it is fixed.