shama / yo-yoify

Transform choo, yo-yo or bel template strings into pure and fast document calls
111 stars 17 forks source link

Support for custom module namings #22

Open arturi opened 8 years ago

arturi commented 8 years ago

Hello, thank you for yo-yoify!

We wrapped yo-yo in a module we call html: https://github.com/transloadit/uppy/blob/master/src/core/html.js (choo-style), so we import that in components and call html'<h1>hello</h1>' that we can switch to virtual-dom or something if we want to, and just keep the dependency in one place. Do you think this could somehow work with yo-yoify?

I see this https://github.com/shama/yo-yoify/blob/master/index.js#L6, so maybe there could be an option to add custom module names to it? Thanks.