Hi,
If I want to change snippets of the Meteor framework, I don’t want to send Meteor’s code to the client, and then rewrite it on the client. Is there a way to modify the source-code of Meteor on-the-fly before building the app the first time without modifying the original source code?
For example:
Meteor._vanillaSubscribe = Meteor.subscribe
Meteor.subscribe = function(){
//do something
Meteor._vanillaSubscribe.apply(_.toArray(arguments));
}
is a change I need to make to meteor for my app. I could send over the meteor app, then modify it in the client-side startup.js…
But is there a way to serve the app modified instead of doing this on the client && instead of modifying the original source files (Where are they located?) Links appreciated.
Thanks.