Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meteor package load order

The order I add packages on Meteor makes any difference in the result ? Lets say I use bootstrap 3 and accounts ui with bootstrap 3, if I add the latter first or vice versa would work the same way ?

like image 974
Cassio Cabral Avatar asked Feb 23 '14 00:02

Cassio Cabral


1 Answers

In Meteor the package order that you add them in does not matter.

There is a module in meteor called linker that analyses each packages dependencies to ensure that the dependencies load first.

For example: If bootstrap-3 is a dependency of accounts-ui-bootstrap-3 then even if bootstrap-3 was added after, it would be loaded first.

like image 122
Tarang Avatar answered Nov 17 '22 05:11

Tarang