Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Require hook (server side node). #51

Open
DylanPiercey opened this issue Feb 21, 2016 · 1 comment
Open

Require hook (server side node). #51

DylanPiercey opened this issue Feb 21, 2016 · 1 comment

Comments

@DylanPiercey
Copy link

It would be cool to have a require hook built into this (similar to babel, coffee-script, etc).
So that we could do:

require("hbsfy/register");
var myTemplate = require("./index.hbs");

There is already the example for "mocha hbs" but having this built in would help.
This is useful for apps that use handlebars isomorphically.

@kirbysayshi
Copy link
Collaborator

I like this idea, any chance you'd be willing to implement it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants