Created
June 21, 2018 23:28
-
-
Save lennyburdette/16ee3402b7135d37a1b4d37857f51f6d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function({ source }, { parse, visit }) { | |
| const ast = parse(source); | |
| return visit(ast, env => { | |
| let { builders: b } = env.syntax; | |
| return { | |
| MustacheStatement() { | |
| return b.mustache(b.path('wat-wat')); | |
| }, | |
| }; | |
| }); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment