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
Currently, if you install multiple modules, it seems that they're resolved in whichever order Yarn will resolve them, regardless of which order you place them in the configuration.
This can be problematic if you have multiple modules and they override some of each other's features; a practical example is two modules that add a different translation for the same string. Currently, the module system does not seem to consider any user-given order for how they're applied, simply taken the Yarn resolution order.
There's currently a workaround where you can alias your modules alphabetically to set their resolution order:
This way, m2 will be "on top" and override whatever m1 sets, effectively setting an order. However, this can very easily break if, for example, Yarn changes how they resolve modules. The module system should rely on the order given by the user in some way.
The text was updated successfully, but these errors were encountered:
Currently, if you install multiple modules, it seems that they're resolved in whichever order Yarn will resolve them, regardless of which order you place them in the configuration.
This can be problematic if you have multiple modules and they override some of each other's features; a practical example is two modules that add a different translation for the same string. Currently, the module system does not seem to consider any user-given order for how they're applied, simply taken the Yarn resolution order.
There's currently a workaround where you can alias your modules alphabetically to set their resolution order:
This way, m2 will be "on top" and override whatever m1 sets, effectively setting an order. However, this can very easily break if, for example, Yarn changes how they resolve modules. The module system should rely on the order given by the user in some way.
The text was updated successfully, but these errors were encountered: