Are Meteor packages supposed to be eagerly loaded?


#1

Not sure if this is a bug or a feature but I noticed that when I have a package it seems to eagerly load the main module without needing to import it elsewhere first.


#2

Meteor’s backwards compatibility requires packages to be loaded before the main meteor app gets loaded, therefore they are always available to your app whether or not you import them.

The recommendation to import the packages is to get you ready for a possible future where packages get deprecated in favor of exclusive npm support.


#3

Thanks for the info.