Are Meteor packages supposed to be eagerly loaded?

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.

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.

1 Like

Thanks for the info.

1 Like