// Meteor 3 / aldeed:collection2 v4: all package files are lazy and there is no // main module, so nothing patches Mongo.Collection.prototype.attachSchema until // its `main.js` runs. The package ships `static.js` (`import './main'`) as the // eager entry point — importing it here (from an eager server file that loads // before server/main.js) patches attachSchema before any collection loads. import 'meteor/aldeed:collection2/static.js';