Reputation: 6039
In my Meteor project, Can I have app/client/abc.js AND app/server/abc.js and expect meteor to handle them graciously?
Upvotes: 0
Views: 24
Reputation: 1292
Yes you can have abc.js in both client and server folders. However, /client/abc.js will be loaded only on client, whereas /server/abc.js will be loaded only on server.
Upvotes: 0
Reputation: 64342
Yes. File names in meteor are not currently meaningful apart from manipulating load order. See the structuring your app section of the docs.
Upvotes: 1