-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transform function? #13
Comments
@sw-yx I like the sound of that, and can appreciate the utility. I'm unsure, however, if it's an appropriate addition to |
After I hit the comment button I had another thought... To make this kind change work (with a nice API) I think a major change for configuration would be preferred; for example it'd be configured by an object instead of fn arity. This could be done in a backwards compatible way though, by overriding the first arg in the main fn! I'd be happy to support that, since it's fairly cheap imo. Input from @yoshuawuyts if he has the bandwidth. (TLDR; we could support more options, such as a transform fn to replace the maxstache usage.) |
yeah itd be nice to have. up to y'all how you want to execute on it :) |
@yoshuawuyts just wanted to say thanks again for this library, its so handy in various things I do! |
I'd love to be able to write my template files in ejs and just run it through copy-template-dir - what do you think of adding a little transform callback for this?
The text was updated successfully, but these errors were encountered: