What's involved in running 'client' Meteorite packages on server?
I'm interested in using reactive coffee for rendering a newsletter on the server. Can't find any references to this though it seemed an intuitive option. How's this (meteor client>server and newsletters) usually done?
Here's the package.js from zhouzhuojie / meteor-reactive-coffee on github.
Package.describe({
summary: "Reactive-coffee for Meteor"
});
Package.on_use(function (api) {
api.use('jquery', 'client');
api.use('underscore', 'client');
api.use('coffeescript', ['client', 'server']);
api.add_files('reactive-coffee/dist/reactive-coffee.min.js', 'client');
api.add_files('main.js', 'client');
api.add_files('rx.meteor.coffee', 'client');
if (api.export){
api.export(['rx', 'rxt'], 'client');
}
});