It seems as though there’s lots of Meteor developers struggling to come to grips with the new modular approach (myself included). Is there any way Meteor could provide a little more assistance in regards to best practice when utilising their common packages. For instance, I just installed the email component. The documentation states ‘server’. Could meteor provide more insight and possible suggestions for where to reference it and how to activate it?
eg.
Path: imports/startup/server/email-server.js1
if (Meteor.settings.private.MAIL_URL){ process.env.MAIL_URL = Meteor.settings.private.MAIL_URL ; }
Path: imports/startup/server/index.js
import './email-server.js';