I have a very basic question regarding dependencies in an Ember app.
So say I have a parent application/engine called P1. This parent has multiple child apps/engines called C1, C2, C3. Now, the parent app as well as the child engines themselves have a common dependency on some library say L1. (This can be say jquery library) However, the version which say C1 defines as dependency is L1@1.0.0, while the parent P1 defines it as L1@2.0.0
My question is what dependency version would child C1 run with (1.0.0 or 2.0.0) ? Would it clash with same dependencies (but different versions) defined in other child engines ?
Dependency code can include JS as well as CSS. How does these resolve within the context of child apps ? Any examples for reference would really help.
Aucun commentaire:
Enregistrer un commentaire