Meteor has special directories:
client for serving files only to
server or only to
Is it possible to make similar behaviour, but using not
server folder names but file names which end with either
collections.client.js would be available only on client and
collections.server.js would be available only on server?