cmather / meteor-handlebars-server

Server side handlebars support for Meteor
80 stars 14 forks source link

Handlebars.templates empty when used inside another package #25

Open wursttheke opened 10 years ago

wursttheke commented 10 years ago

I'm building a simple mailer package, which uses handlebars-server as a dependency to render email templates to string and then send them out. But somehow the *.handlebar templates are not recognized, meaning Handlebars.templates is just an empty object.

When I move my Mailer class out of the package into the standard Meteor server folder, everything works fine.

Could I be doing something wrong, or is the usage inside another package not (yet) supported?

joshua1 commented 9 years ago

what package are you using please