meteor-handlebars-server icon indicating copy to clipboard operation
meteor-handlebars-server copied to clipboard

Handlebars.templates empty when used inside another package

Open wursttheke opened this issue 11 years ago • 1 comments

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?

wursttheke avatar Sep 24 '14 14:09 wursttheke

what package are you using please

joshua1 avatar Nov 12 '14 19:11 joshua1